The weekend winks coyly at me and beckons
Jul. 8th, 2011 03:19 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Good LORD, this code I'm investigating is ridiculous. According to the documentation, it was written 25 years ago (in FORTRAN, mind you, because my company is so behind the times it's laughably painful), by someone who thought it was a perfectly cromulent move to use a GOTO statement to read through a file instead of, I dunno, A FREAKING DO-LOOP, DUMBASS. No indentation or any other obvious signs to show the flow of control.
A GOTO statement. *headdesk* Examples like these help puncture my impostor syndrome. I know good code, and this, sir, is not good code.
Of course, to keep me from being too pompous, the senior programmer just punted back the compiler structure I changed because I forgot to add the definitions for compiling the program that's now SQL-dependent. Oops! At least it was a quick change, and he missed it, too - I diagnosed the problem when looking over his shoulder.
I love coding. I just hate tripping over other people's bad style.
Here's hoping Friday is treating you all well, and that you have a most excellent weekend, even if it's not actually a weekend for you (waves to
resolute).
A GOTO statement. *headdesk* Examples like these help puncture my impostor syndrome. I know good code, and this, sir, is not good code.
Of course, to keep me from being too pompous, the senior programmer just punted back the compiler structure I changed because I forgot to add the definitions for compiling the program that's now SQL-dependent. Oops! At least it was a quick change, and he missed it, too - I diagnosed the problem when looking over his shoulder.
I love coding. I just hate tripping over other people's bad style.
Here's hoping Friday is treating you all well, and that you have a most excellent weekend, even if it's not actually a weekend for you (waves to
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
(no subject)
Date: 2011-07-15 01:48 pm (UTC)My friend here at work programmed in COBOL many years back when he was working a military coding job. Hopefully the military has at least upgraded.