Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jdavidb (1361)

  (email not shown publicly)

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Monday February 03, 2003
10:14 AM

As if old code wasn't bad enough

[ #10362 ]

PL/SQL has a GOTO. And the code I'm looking at uses it.

/me tears my clothes, dons sackcloth, and sprinkles my head with ashes.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Nothing wrong with goto. People over fear it, probably because of Djikstra's famous paper, but the truth is that paper was written before we had the ability to properly structure programs (ok not quite, but in a time when it was common to use languages that did not allow you to).

    Used well and appropriately goto is a blessing.
    • In this case it seems to be used for a rudimentary exception handling routine. I would have definitely handled this with real exceptions (PL/SQL is the language where I first learned what exceptions were, although Java is the language where I learned to like them. Wait! Don't hit me!) or with conditional logic, but after getting to the point where I understand what the program is doing, I have to say it really isn't too bad of a problem.

      This morning's post was just a snapshot of me in panic mode as I d

      J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers