4 ms·
Biggest erk and put-off many in COBOL had with JSP was exception handling and with that - without using GOTO (which was banned for JSP hardcore mentalities) you
by Zenst 5y ago
Biggest erk and put-off many in COBOL had with JSP was exception handling and with that - without using GOTO (which was banned for JSP hardcore mentalities) you would end up setting flags and having checks - adding a lot of processing into the code-base at a time that was still before the IBM PC was to come about. Even then, CPU's for large mainframes et all, and the cost of CPU cycles and storage, sure did have a far larger value than in later years.
- danielnicholas 5y agoJSP used the "quit" statement to handle errors and backtracking; it was a primitive form of exception before exceptions were common. There's a lengthy defense of this in the JSP book (on p.282) arguing that eliminating GOTOs dogmatically is a mistake.