Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: subroutine prototypes still bad?

by dmitri (Curate)
on Jun 13, 2007 at 14:09 UTC ( #620971=note: print w/ replies, xml ) Need Help??


in reply to Re^2: subroutine prototypes still bad?
in thread subroutine prototypes still bad?

I think it depends on what you are used to. I recently had to write some Java code, and I found myself putting 'return' statements outside of try/catch, even though it's fine in Java.

Since I use mostly Perl, this behavior does not confuse me at all.


Comment on Re^3: subroutine prototypes still bad?
Replies are listed 'Best First'.
Re^4: subroutine prototypes still bad?
by ikegami (Pope) on Jun 13, 2007 at 14:19 UTC
    To me, that sounds like you're doing somthing so dangerous that you won't even do it in a language where it's safe in fear of getting it wrong in Perl.
      I was just making a point about being used to things. C programmers are used to allocating memory by hand, for instance. It's just a matter of what the language gives you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (18)
As of 2015-07-07 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls