3 ms·
I'll dispute that RPG is fairly easy to understand. It wasn't designed as a general-purpose language, it's more like an alternate universe proto-SQL that was tw
by kibwen 5y ago
I'll dispute that RPG is fairly easy to understand. It wasn't designed as a general-purpose language, it's more like an alternate universe proto-SQL that was twisted into a general-purpose role. With few historical precedents to base it on as of 1959, its designers were flying by the seat of their pants, and it will be expressly alien to any developer who came of age after the early 90s. It's also a product of its time; six-character identifiers, eight-character filenames, and don't get me started on the fixed format (when I describe this to my developer friends, their eyes bug out of their head). Maybe if we're talking exclusively about the modern C-inspired free format, but IME most RPG code was written well before RPG IV, and any company that eager to rewrite their code is going to have rewritten it in e.g. Java instead.
- ch_123 5y agoThe System/3x family and RPG were designed for customers who were migrating off unit record equipment. Unit record equipment was "programmed" by wiring plug boards, and the unit record machine would filter, transform, collate (etc.) each card in a stack of input cards by applying the rules specified by the wiring of the plug board. With the fixed formatting and "program cycle", RPG was intended as a sort of skeumorph for technicians who would have been trained to "program" unit record equipment on a wiring diagram. (Contrast the wiring schematic here: http://www.righto.com/2017/04/1950s-tax-preparation-plugboard.html http://www.righto.com/2017/04/1950s-tax-preparation-plugboar... with an RPG template here: https://www.richard-banks.org/2014/01/a-little-nostalgia-with-wang-vs-and-rpg.html https://www.richard-banks.org/2014/01/a-little-nostalgia-wit...)
- bluepizza 5y ago> Maybe if we're talking exclusively about the modern C-inspired free format, but IME most RPG code was written well before RPG IV That's an excellent point. I meant free format code