Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: passing hash refs

by fredsnertz (Initiate)
on Apr 08, 2009 at 15:58 UTC ( #756377=note: print w/replies, xml ) Need Help??


in reply to Re: passing hash refs
in thread passing hash refs

Thank you so much for getting me an answer in 15 minutes to something I'd already spent hours on. You have inspired me to start using strict and warnings ... well my code is around 600 lines already and I should be able to wrap it up now ... I'll use those on my next project.

Replies are listed 'Best First'.
Re^3: passing hash refs
by RMGir (Prior) on Apr 08, 2009 at 16:40 UTC
    I'll use those on my next project.

    Please reconsider. Use them now!

    Your maintenance challenges down the road will be much fewer AND simpler if you deal with the problems strict and warnings complain about now, while you still remember what your code means...

    (You should also add documentation and tests, seriously. But making things strict/warnings clean is a good start)


    Mike
Re^3: passing hash refs
by GrandFather (Sage) on Apr 08, 2009 at 23:19 UTC

    Bzzzt - wrong answer. Add strictures now. You've already seen the benefit - two errors detected in about 30 lines of code, so there could be about 38 more errors to find in the remaining 570 lines which is about another two weeks of possible debugging time saved! ;)


    True laziness is hard work

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://756377]
help
Chatterbox?
Tanktalus has to figure out why his cb talker isn't working :(

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2018-07-15 21:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (326 votes). Check out past polls.

    Notices?