4 ms·
Had a very junior engineer who had just started report a compiler bug to our all-technical-staff mail list. He was testing the not-yet-released next version (of
by sokoloff 6y ago
Had a very junior engineer who had just started report a compiler bug to our all-technical-staff mail list. He was testing the not-yet-released next version (of tcl), so it was possible but we had appropriate skepticism and someone on list asked for the smallest reproduction case.
Few hours later, he verified and produced on-list a reproduction case where a variable could not be incremented by 1 but could by 2 or any other number.
Turns out he’d been taught in typing class that l (lowercase L) could be used for 1 and carried that into computing.
WONT_FIX
- msla 6y ago> Turns out he’d been taught in typing class that l (lowercase L) could be used for 1 and carried that into computing. A good way to keep them busy would have been to demand they type an exclamation point. (Hint: Backspace-and-overstrike a period with a single quote.)
- Sniffnoy 6y agoWhen did this happen? It's hard to imagine this happening anytime in, say, the past 15 years...
- sokoloff 6y agoSummer of 1997 or 1998. Fresh college grad. Pre-release of some patch level of Tcl 8 (which introduced byte compilation, making it slightly more plausible there would be a compiler/interpreter/language bug).
- Sniffnoy 6y agoOh ha. That is like, just about the latest that could happen, I imagine...
- sokoloff 6y agoYeah. I grew up typing on computer keyboards so I couldn't believe the explanation. Some of the older employees were much more understanding as they learned to type on typewriters that literally didn't have a 1 key at all.