DEV Community

Discussion on: Against 'foo' (and 'bar' too)

Collapse
 
wsantosf profile image
Wanderlei Santos

In my first job as a programmer I had to debug a COBOL program someone else had written. At seemingly random times a running total would get wiped out. It turns out the programmer learned assembler first and kept naming his variables V01, V02, ... even though he could have used longer names. The whole program was written that way. I had to create a cheat list and go through every single one till I figured out he was reusing one of them in an unrelated block.