Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

RE: RE: RE: COBOL vs. Perl

by gnat (Beadle)
on Jun 15, 2000 at 00:10 UTC ( #18173=note: print w/ replies, xml ) Need Help??


in reply to RE: RE: COBOL vs. Perl
in thread COBOL vs. Perl

Absolutely right!

Something that I think gets lost in this mad rush to find the smallest most obscure code to solve a problem is that often you're sacrificing error-checking along the way. In the real world, I place much more emphasis on Doing the Right Thing than in brevity.

I applaud you for this. I wish more people followed your lead.

(Yes, I am a boring old fart :-)


Comment on RE: RE: RE: COBOL vs. Perl
RE: RE: RE: RE: COBOL vs. Perl
by Anonymous Monk on Jun 21, 2000 at 22:04 UTC
    I must admit that there has been many a time that I've come up with some beautiful piece of code that does exactly what I want it to do in one line or two, and then I have to pollute it and expand it with all of the error checking conditions. Most annoying, but necessary. The approach that I take to my code is "Make things as simple as possible, but no simpler". In other words, brevity is good and worthwhile and whatnot, but as soon as you start sacrificing necessary functionality or readability, you're trying to make it too short and you need to slow down a little. Most of my code tends to be fairly readable as a result. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://18173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-09-17 03:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls