Long ago, I used to be pissed off when I saw sloppy coding. These days I read somebody's code and I can immediately notice the bugs, the logic gaps and the performance issues.
The only thing which still captures my attention, is when I find source code which is thoughtful, well-designed, masterfully implemented and well-commented/documented.
Then I shake their hand, and explain how much I appreciate their work and that I'm proud to be their colleague.
This is what Russel Crowe in " Gladiator " would have looked like if it had taken place at Dilbert's company. Though I think that this cartoon may fly over the heads of some people who don't understand coding. For those of us who do it's hysterical.
@dronenumber31415
I just about died laughing at the story of your friend's dad.
@magallanes
Also your students' code is easier to understand (but not easier to check).
How inefficient is the loop?
1 Allocate a variable i, load constant 10, store to i.
2 Jump to 6
3 load variable i
4 call print
5 load variable i, decrement, store to i
6 load variable i, load constant 0, compare
7 jump if not greater to 3