zlacker

[parent] [thread] 2 comments
1. benldr+(OP)[view] [source] 2026-01-23 14:31:15
Funny, I had a similar experience TAing “Intro to CS” (first semester C programming course). The student was certain he encountered a compiler bug (pushing back on my assumption there was something wrong with their code, since while compilers do have bugs, they are probably not in the code generation of a nested for loop). After spending a few minutes parsing their totally unindented code, the off-by-one error revealed itself
replies(1): >>zehaev+kc
2. zehaev+kc[view] [source] 2026-01-23 15:31:35
>>benldr+(OP)
Off topic, but I feel like this could be made into a Zen Koan from The Codeless Code[0]. You're almost there with it!

[0] https://thecodelesscode.com/

replies(1): >>direwo+cR
◧◩
3. direwo+cR[view] [source] [discussion] 2026-01-23 18:51:20
>>zehaev+kc
Offer topic, but the Codeless Code isn't Zen Koans. It's formatted like Zen Koans, and it's entertaining and brings value to the world, but it isn't the same thing.
[go to top]