News for hackers. Stuff that matters.
Re:The little legacy code that could: a fable of software ow... by larrik on Friday June 28, 2019 @04:18PM (#20308451)
I worked at an AS/400 shop out of college (this was in the 2000's, though). The other programmers there did NOT have a better understanding of low-level programming than me. In fact, it was hard to call them programmers at all.
Re:The little legacy code that could: a fable of software ow... by yellowapple on Friday June 28, 2019 @05:26PM (#20308913)
Yeah, a lot of AS/400 programming is actually pretty high-level (comparatively speaking). COBOL in general was meant to be accessible to end users (or at most power users) such that they could readily define business logic without having to resort to something like assembly or PL/I or what have you.
Re:The little legacy code that could: a fable of software ow... by larrik on Saturday June 29, 2019 @02:34PM (#20314043)
Yeah, these guys didn't really know COBOL either. They used RPG (an AS/400 exclusive language).
Re:The little legacy code that could: a fable of software ow... by rswail on Monday July 01, 2019 @04:37AM (#20323505)
RPG is more like throwing random characters on a screen and seeing what happens.

Report Generator (RPG) is designed for an 80 column punch card. Put a F in column 6 to mean this, put a "C" to mean something else, match one of the 99 variables (named, intuitively 01 through 99) to make output happen.

I had the distinct displeasure in 1984 of trying to maintain a warehouse stock control system that some evil people had decided to implement in RPG. From memory, RPG only has the equivalent of single dimensioned arrays, so the location of items in the warehouse was an intersection of three arrays pointing to yet another array containing the SKUs.

It's designed to take one or more input files with defined columns in each row (card) and do some stuff (mostly subtotalling etc) and produce output.

Of course, it's been stretched beyond all recognition since it was introduced in 1959. It's literally 60 years old this year.

Re:The little legacy code that could: a fable of software ow... by larrik on Monday July 01, 2019 @10:06AM (#20325340)
Yup, though we technically used RPGLE which was slightly better. It also had a "free text mode" which looked a bit more like a real language, but my coworkers were terrified of that.
Re:The little legacy code that could: a fable of software ow... by avgDev on Friday June 28, 2019 @10:14PM (#20310379)
Is there any resources you could recommend? I would interested in maybe learning more.
Re:The little legacy code that could: a fable of software ow... by larrik on Saturday June 29, 2019 @02:35PM (#20314048)
What are you looking to learn more about?

When I learned RPG, it was through physical audio tapes. In 2005, with broadband. I haven't come across to many good places to learn from (but I haven't really been looking, either).