Slashdot Mirror


User: linkyours

linkyours's activity in the archive.

Stories
0
Comments
1
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1

  1. Perl Software Pet Peeve: not using warn and strict on Software Aesthetics · · Score: 3, Informative

    I just started a job recently where the previous developer of software that I'm modifying did NOT use warn or strict!!! How the hell do people justify that? I just don't get it... Not only do these tools speed debugging, they make your programs less succeptible to bugs.

    If anyone reading this does NOT use warn (invoked by putting a '-w' after your perl interpreter call, ie: #!/usr/bin/perl -w ), or strict (invoked by putting this after your perl interpreter call or package definition:

    use strict;

    then please do!

    You'll have to make sure your variables are scoped correctly (ie: my $scaler = 'whatever';), which may seem like a bitch but is HELPFUL!

    hehe, ok, enough of this. Hope you all are having a fun day.

    -japh

    p.s. I don't have a tv either, I recommend this if you don't like being brainwashed/desensitized, ;-p