# That boolean should probably be something else - Nicole

> For the complete site index, see [llms.txt](https://danny.is/llms.txt)

https://ntietz.com/blog/that-boolean-should-probably-be-something-else/

This is a great (short) article on using booleans.

> They feel like they make sense for our data, but they make sense for our logic. The data is usually something different underneath. By storing a boolean as our data, we're coupling that data tightly to our application logic.
>
> Instead, we should remain critical and ask what data the boolean depends on, and should we maybe store that instead? It comes easier with practice. Really, all good design does. A little thinking up front saves you a lot of time in the long run.

Yes 💯

Also...

> I know that using an em-dash is treated as a sign of using LLMs. LLMs are never used for my writing. I just really like em-dashes and have a dedicated key for them on one of my keyboard layers

As a longtime em-dash user myself, I should start adding this to my posts.