× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi David,

This brings up the question of how often do you need to debug the generated code? RPG is a code generator, but I don't look at the W-code or whatever it produces very often, much less debug it. If there are problems with the generated code, isn't that somewhat of a problem with the generator/language?

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

David Gibbs wrote:
Joe Pluta wrote:
This is an argument you're going to have to decide for yourself. The program generates both Java code and JSF, so it's eminently debuggable.

Maybe true ... but being able to debug the code is just the first part of solving a problem ... you have to UNDERSTAND the code that you are debugging.

There's also an EGL-level debugger.

I was not aware of that. I would have to see how the debugger works to make a final judgment.

You're not basing this on using the tool, just on... what? Your experience with other tools?

In general, yes. But my point is: If you write in EGL (or any code generator), and all don't understand the code that is being generated, solving problems in the code is going to be difficult at best ... impossible at worst.

EGL emits JSF and Java and JavaScript. It's ugly, sure, but it's debuggable.

Ugly code is hard to debug. Programs that are hard to debug are expensive to maintain even if they were cheap to write.

If you haven't actually used EGL, then your arguments are theoretical.

Granted. I am making generalizations.

david


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.