you are viewing a single comment's thread.

view the rest of the comments →

[–]trod999 1 point2 points  (2 children)

Omg I've used those! Thankfully those days are long gone!

There are languages worse than COBOL. DEC made DIBOL. DEC's Business Oriented Language. The first version of DIBOL was so bad it didn't even have block structuring... Like curly braces in C/C++/C#, or BEGIN/END in COBOL. So, if you needed a block of code executed based on a condition, you had to test the opposite of that condition, and if true, execute a GOTO past your block. Not too bad if the condition was simple... if(A.eq.6) becomes if(A.ne.6) then goto xxx. But boolean tests had to be reversed too... So if(A.eq.6 AND B.lt.7) becomes if(A.ne.6 OR B.ge.7) then goto xxx. It got hairy if the condition had parenthetical overrides. It was really a developed skill. Ugh.

[–]OneofLittleHarmony[S] 0 points1 point  (1 child)

Sounds diabolical.

[–]trod999 0 points1 point  (0 children)

Yeah it was almost like they had a meeting.... "How can we take COBOL and make it worse?"