Why I Dislike Code Generators

Those of you who follow the midrange.com lists probably are aware that I’m not a big fan of application code generators.

This includes (but is not limited to) …

* Case Tools (AS/SET, Synon, etc)
* EGL
* SQL Pre-processors (RPG SQL, COBOL SQL, etc)
* JSP (to a limited extent)
* Various 3rd party application generators

The reason is simple … the code you write is not the code that executes.

Quick Tip: Using Apache Commons Net with IBM i

Something I recently ran into … I use the Apache Commons Net library in some of my java code. I ran into a problem where, when trying to upload a save file to the host via FTP, I encountered an IOException with the message “501 Unknown extension in database file name”.

Analyzing Commands with Java

As I’ve mentioned in previous posts … building tools can be a fun & rewarding part of the job. As part of a recent programming task, I had to do some analysis on commands to determine what parameters were supported in the SQL variant of the language compiler and what parameters were not supported. I…