I always write
```
if (unread <= 0) hideBadge()
```
rather than
```
if (unread === 0) hideBadge()
```
I never trust a count to never go negative.
(how's that for a triple negative?)
Founder at Infinite Red, US-based React Native experts (hire us!)
⚛️ Podcast: React Native Radio
⚛️ Conf: Chain React
🥅 Hockey Goalie
✝️ Lutheran
👨 Dad x 4
| Website | https://jamon.dev |
| Infinite Red | https://infinite.red |
| Github | https://github.com/jamonholmgren |
| https://twitter.com/jamonholmgren |
I always write
```
if (unread <= 0) hideBadge()
```
rather than
```
if (unread === 0) hideBadge()
```
I never trust a count to never go negative.
(how's that for a triple negative?)
@vwbusguy Excellent.
I built this btw https://github.com/jamonholmgren/qub
Here is everything that I found interesting last month about the Elixir programming ecosystem:
#qfm #quantumfaxmachine #blog #reading #list #elixir #programming #ecosystem #software
“QFM026 Elixir Reading List July 2024”
https://quantumfaxmachine.com/blog/qfm026-elixir-reading-list-july-2024
I’m building a game! Check it out on my new YouTube channel, Jamon Game Dev.