Rendered at 00:46:35 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
JSR_FDED 9 hours ago [-]
You start with a Boolean to represent two possible values/states. Then your program evolves and you need represent a third state, so what do you do? Obviously you add an other Boolean.
I keep doing that and then for several weeks I deal with the extra pain and complexity this causes. Then always, and I mean always, I end up rewriting all that code using enums.
JSR_FDED 9 hours ago [-]
It goes beyond just naming Booleans, all naming of variables is hard
I keep doing that and then for several weeks I deal with the extra pain and complexity this causes. Then always, and I mean always, I end up rewriting all that code using enums.