in reply to Re: Re: to strict or not to strict
in thread to strict or not to strict
Possibly I just dont like a compiler telling me how to code
The compiler does that whether you use strict, though! That's why this is not a valid Perl program:
Prin "hellol;I'd rather debug myself and be better at coding for it
I think that's a rather shortsighted view and a rather lame excuse.
I expect good programmers not to waste their time wanking over manual tasks that the computer is much better at doing reliably. Do you refuse to write automated test suites because you want to demonstrate your mad debugging skills?
Maybe you never make any typos. Maybe you've never spent an hour searching for a problem that doesn't make any sense and finally realized that you wrote $customr when you meant $customer. Since you say, though:
most of my globals are probably unintentional..
I wonder why you wouldn't want something to catch your unintentional errors immediately.
I find it hard to believe that anyone who's written anything longer than Hello, world hasn't been bitten by those errors, and that's why I suggest that refusing to let the computer catch common mistakes is a waste of your time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: to strict or not to strict
by castaway (Parson) on Oct 18, 2003 at 09:29 UTC |