News for hackers. Stuff that matters.
Re:IBM AS/400: Databases all the way down [video] by tannhaeuser on Tuesday May 02, 2023 @01:16PM (#35790942)
RPG, though ...
Re:IBM AS/400: Databases all the way down [video] by orthoxerox on Tuesday May 02, 2023 @03:06PM (#35792571)
It's like functional programming in that everything useful an RPG program does is a side effect. A side effect of creating a report, in its case.
Re:IBM AS/400: Databases all the way down [video] by GnarfGnarf on Tuesday May 02, 2023 @07:39PM (#35795756)
RPG is an abomination. It's a paradigm of the old plugboard tabulators from the 40's.

No indentation. Cryptic op codes. Rigid fixed-column OP1/OP2/operation/result. Assembler without the power.

"Repulsive Programming Garbage".

Re:IBM AS/400: Databases all the way down [video] by racingmars on Tuesday May 02, 2023 @08:52PM (#35796340)
The latest version of RPG in current versions of IBM i is fully freeform! It's pretty wild how much they've evolved the language while still calling it "RPG". If you're maintaining old code you'll mostly run into the fixed-column stuff, but for writing new code at least you can make it somewhat readable now.
Re:IBM AS/400: Databases all the way down [video] by artificialLimbs on Tuesday May 02, 2023 @10:44PM (#35797132)
Do you still have to add every field in every table you use for your program to work?
Re:IBM AS/400: Databases all the way down [video] by martin1b on Wednesday May 03, 2023 @04:25PM (#35807297)
yeah, it's pretty nasty. Free looks pretty java-centric. What's weird is you can in-line RPG. Makes for some crazy looking code.