β24616[Quote]
I always thought cobol was considered hard because of memory operations like in assembly or some shit
but no, it's just incredibly wordy and outdated language some retarded boomers made
β24622[Quote]
>>24621why not make a same language but with syntax that doesn't sound like grandma's shopping list then
β24625[Quote]
IDENTIFICATION DIVISION.
PROGRAM-ID. ADD01.
DATA DIVISION.
FILE SECTION.
WORKING-STORAGE SECTION.
01 FIRST-NUM PICTURE IS 99.
01 SECOND-NUM PICTURE IS 99.
01 RESULT PICTURE IS 999.
PROCEDURE DIVISION.
PROGRAM-BEGIN.
DISPLAY "NUM".
ACCEPT FIRST-NUM.
DISPLAY "SECOND-NUM".
ACCEPT SECOND-NUM.
COMPUTE RESULT = FIRST-NUM + SECOND-NUM.
DISPLAY "The Result".
DISPLAY RESULT.
PROGRAM-DONE.
STOP RUN.
>issa gem
β24667[Quote]
Let me tell you some SNCA about COBOL that makes it really cool
It uses Fixed-Point Arithmetic instead of Floating-Point arithmetic
It calculates numbers exactly the way a human does (base 10), not how a computer CPU usually does (base 2) because it was made before CPUs existed
β24673[Quote]
>>24667that sounds kinda inefficient but ok
β24674[Quote]
>>24673Itβs efficient enough to carry like 70% of the global financial transaction system.
β24680[Quote]
>>24674even though DA JOOOOOOOS who own finance can just buy more computers to brute force the inefficient code
β24681[Quote]
>>24615 (OP)The only place it exists today is banking and even that's going away
β24713[Quote]
>>24681They have been saying its going to be going away for decades now. I think that this time it might actually, because LLMs are uniquely well equipped for porting COBOL. Thats not why I am learning it though, truth be told. I don't want to work as a code monkey.