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 19:42 (UTC)1) Use the right counter. I think I just used the generic counter for three objects, when I should have used the counter for fish, which is clearly different from the counter for bottles and would have distinguished them.
2) Say shake, an alternate-but-also-dictionary-correct pronunciation for salmon but not for alcohol. Some people say sake, some people say shake, and I have no idea what the distinction is, if there is one, or why some people use one or the other. But it would have make it obvious.
no subject
Date: 2018-Aug-11, Saturday 01:15 (UTC)