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?)
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.
Our garage freezer plug GFCI tripped and we didn’t notice for a while, until Cally let us know the freezer light didn’t turn on (way to be alert!)
I ordered this alarm. It plugs right into the wall and if your circuit goes dead, it’ll wait a minute and then as long as the circuit is not back on, it’ll beep for 15 minutes every hour until it’s back on.
Link: https://amzn.to/3T9grL9
With her brother moving out and freeing up a room, the ten year old is already designing her space in Roblox.
She even got a measuring tape and measured the space.
I’m not great at hitting the ground running on Monday mornings.
I usually ramp up to productivity throughout the week. It’s a process.
Just how I roll though. No shame in that. I usually just slog through the “less important” email and slack channels until I hit my groove.
I go on mastodon they’re talking about mastodon and twitter and threads
I go on Bluesky they’re talking about Bluesky and twitter and threads
I go on twitter and threads and they’re just talking about life, code, etc.
I want to like these alt platforms. I really do. But come on.