- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
COBOL: Difference between revisions
imported>Oddguy No edit summary |
mNo edit summary Tags: Mobile edit Mobile web edit |
||
(3 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
__TOC__ | __TOC__ | ||
= EXAMPLE CODE = | == EXAMPLE CODE == | ||
<pre> | <pre> | ||
AA-INTRODUCTION SECTION. | AA-INTRODUCTION SECTION. | ||
Line 65: | Line 65: | ||
In [[Python]], a similar program would only take about 5 lines, as opposed to [[over 9000]], which already explains why COBOL sucks. | In [[Python]], a similar program would only take about 5 lines, as opposed to [[over 9000]], which already explains why COBOL sucks. | ||
= Trolling COBOL coders = | == Trolling COBOL coders == | ||
* Steal their [[2girls1cup|depends]] (if their a wimminz) | * Steal their [[2girls1cup|depends]] (if their a wimminz) | ||
* Eat their prunes | * Eat their prunes | ||
Line 74: | Line 74: | ||
* Raid the dollar store | * Raid the dollar store | ||
= History = | == History == | ||
COBOL was solely responsible for the Y2K scare because the designers never thought that COBOL would still be widely deployed after 1999. Despite the designers built in fail date, over 800 million line of COBOL can be found in Manhattan alone. | COBOL was solely responsible for the Y2K scare because the designers never thought that COBOL would still be widely deployed after 1999. Despite the designers built in fail date, over 800 million line of COBOL can be found in Manhattan alone. | ||
Line 82: | Line 82: | ||
= See Also = | == See Also == | ||
* [[Programming]] | * [[Programming]] | ||
* [[C]] | * [[C]] |
Latest revision as of 06:24, 10 August 2024
COMMON BUSINESS ORIENTED LANGUAGE is the prune juice of the programming world. If you still know how to write code in this shitty language, you definitely are a respected and valuable member of the programming community. COBOL was invented by a woman, which is probably the main reason why it downright sucks giant cocks. We all know that wimminz never make anything worthwhile.
EXAMPLE CODE
AA-INTRODUCTION SECTION. AA-01. * A HORRIBLY VERBOSE PROGRAMMING LANGUAGE * THAT PROBABLY NEVER SHOULD HAVE BEEN * INVENTED. THERE ARE MILLIONS OF * LINES OF THIS GARBAGE STILL IN USE. * * THE ONLY GOOD THING ABOUT COBOL WAS THAT * IT STOPPED BAD PROGRAMMERS BEING REALLY * AWFUL PROGRAMMERS. * * HOWEVER, COBOL CAN BE FOUND AT THE MAINFRAME * OF YOUR FAVORITE BANK. THE 60'S STRIKE AGAIN. * * NOW, ADD 1 TO COBOL GIVING COBOL, PLEASE, . * DEAR COMPUTER, AND RETURN THE RESULT (S0C7) * AT MORNING. * * THERE IS NO CABAL. PERFORM IMMORAL-ACTS UNTIL POLICE ARRIVE. DIVIDE CAKE INTO MANY-PIECES YIELDING BIRTHDAY-PARTY. EVALUATE TRUE WHEN CAKE NOT = 1 OR 3 OR 5 OR 7 OR (MOON-PHASE NUMERIC) MOVE CORRESPONDING MANY-PIECES TO MANY-MOUTHS WHEN OTHER EXEC CICS LINK PROGRAM ('TOAST') COMMAREA (RUM-BOTTLE) LENGTH (ONE-GLASS) END-EXEC. * EAT THAT, MISERABLE MAINTENANCE PROGRAMMER!!! IF DRUNK-FLAG INSPECT STOMACH REPLACING ALL LOW-VALUES BY ZEROES IF STOMACH > ZERO NEXT SENTENCE ELSE GOTO A99. GOTO AA-Z23X. AA-Z23X. PERFORM AA-01 THRU AA-Z23X UNTIL WORLD-SPIN-SPEED > 5 GOBACK. AA-99. MOVE RANDOM TO RETURN CODE STOP RUN. *END OF PROGRAM (REST IN PIECE, PLEASE) END PROGRAM COBOL.
- Divide environment
- Comment a line of code
- Write a shit-ton of code
- Hello world
- ????
- PROFIT!!
In Python, a similar program would only take about 5 lines, as opposed to over 9000, which already explains why COBOL sucks.
Trolling COBOL coders
- Steal their depends (if their a wimminz)
- Eat their prunes
- Steal all of the hard caramels
- Destroy social security
- Take a shit in the local bingo hall
- Walk all over their lawn
- Raid the dollar store
History
COBOL was solely responsible for the Y2K scare because the designers never thought that COBOL would still be widely deployed after 1999. Despite the designers built in fail date, over 800 million line of COBOL can be found in Manhattan alone.
COBOL was designed to look like simple English to comfort newfags that couldn't program in a real language. In turn the language is so broken that it never would have been used by anyone, ever - if not for a Department of Defense mandate. The language was so powerful that a descent compiler took over 100 years to develop.
“The use of COBOL cripples the mind; its teaching should, therefore be regarded as a criminal offense.” ~ Edsger Dijkstra
See Also
COBOL is part of a series on Programming. [Enter the Matrix] | |
ADA • Assembly • C • C++ • COBOL • Debug • DOS • Erlang • Error • Fdisk • Fortran • Integer • Java • LOLCode • Machine Code • Matlab • MIRC Script • MUMPS • Open Source • Perl • PHP • Programming language • Python • QBASIC • Ruby on Rails • Scratch • SSH • Visual Basic
Firefox XPS IRC Attack • Safari XPS Attack • Sandworm
Bill Gates • Linus Torvalds • Weev • Goatse Security • Terry Davis • Theo de Raadt
Operating system • Warez • Notepad • Is not a bug, it's a feature • Database Error |
COBOL is part of a series on Visit the Softwarez Portal for complete coverage. |