Hacker News new | ask | show | jobs
by dun44 933 days ago
You could do it with a trivial C macro instead.
2 comments

I have the pleasure of supporting a transpiled rpg (system i) to Java codebase. Shit that's come up: almost everything is a global. State machine are used for crud logic which is implicit in the rpg runtime and explicit in the Java codebase. Magic constants all over the place. Magic blobs of screen configuration mapping. Transpiling and directly supporting the transpiled codebase is basically masochism.
The classic HN "trivial" :-D