this post was submitted on 10 Jul 2024
943 points (98.7% liked)

Programmer Humor

36575 readers
349 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] DmMacniel@feddit.org 61 points 11 months ago (2 children)
[–] Frederic@beehaw.org 26 points 11 months ago (3 children)

I learnt COBOL (I'm old) it's a very easy language, you basically talk, for instance to do c=a*b you write:

MULTIPLY A TO B GIVING C

and everything is tabbed, but in a good editor like emacs, it's done automatically pretty well.

[–] BeigeAgenda@lemmy.ca 14 points 11 months ago* (last edited 11 months ago) (1 children)

I was looking into learning COBOL some years ago, because i found that verbosity interesting.

And it seemed like there's not many libs and toolboxes out there, compared to the major languages that has libs for everything, so I couldn't really use it for small projects.

[–] connaisseur@feddit.org 12 points 11 months ago (1 children)

The issue with COBOL surely isn‘t about the language itself. The real challenge will be to decipher the spaghetti code that was created at a company in the last sixty or so years. And then to dare changing something without breaking the program as a whole.

[–] BeigeAgenda@lemmy.ca 8 points 11 months ago

That's easy you just use the huge number of test cases to ensure against introducing new bugs.

/S

[–] cupcakezealot@lemmy.blahaj.zone 11 points 11 months ago
10 print "Hell here"
20 goto 10
[–] docAvid@midwest.social 5 points 11 months ago (1 children)
[–] Frederic@beehaw.org 7 points 11 months ago (1 children)
[–] vfreire85@lemmy.ml 2 points 11 months ago (1 children)
[–] Zink@programming.dev 4 points 11 months ago

These are the things I can do without: =+-*/

[–] ICastFist@programming.dev 15 points 11 months ago (1 children)

Imagine a cabal of COBOL programmers called Cobol or Co Ball

[–] Midnitte@beehaw.org 6 points 11 months ago

Fuck it co., we ball.