What if computers just did what we wanted them to do?
2018-Aug-03, Friday 11:05![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Time lost to stupid mistakes in the last week:
After those three hours lost to 0 and 1, I wish I had that booze on the counter.
- Typing 0 instead of 1, thus iterating over the wrong array and repeatedly getting "undefined": Three hours.
- Misplacing a bracket, causing the loop to always return true: Two hours.
- Checking the wrong function input, thus causing the function to always return false: One hour.
After those three hours lost to 0 and 1, I wish I had that booze on the counter.

no subject
Date: 2018-Aug-03, Friday 18:25 (UTC)And yeah, the 0/1 thing was especially infuriating! But I think learning a new language (and living in a country where I didn't speak the language well) helped condition me to frustration enough that I can overcome it. Not without sometimes feeling like an idiot, though...
This Three Panel Soul comic is an excellent summary of how programming goes.