Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: A guide to coding Perl

by rir (Vicar)
on Dec 12, 2002 at 02:57 UTC ( #219242=note: print w/replies, xml ) Need Help??


in reply to Re: A guide to coding Perl
in thread A guide to coding Perl

Yes, yes, yes. Fallthrough is concise, natural and seemly.

To my knowledge, I've only met two people, Pascal lovers both, who could not abide fallthrough. In their code, an if statement that could return was always followed by an else clause that contained the rest of the routine.

To be fair: a couple more spaces in your indents and your first version would read much better.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://219242]
help
Chatterbox?
[Tux]: but I <3 the way people test here
[Tanktalus]: Tux: use sort -V to sort your perls. Looks much nicer that way ;)
[Tux]: Hmmm, pm-cb-g does not seem to accept dead-key diacriticals as all my other (perl) applications do. choroba?
[Tux]: Tanktalus this was the output of autocompletion in my tcsh
[erix]: ah, but I have different compilation- versions of Pg too, so double that: 26 * 2 = more than 50 :P
[Tanktalus]: When I showed one of my coworkers my perl list, he told me that my sort routine was broken when 5.8.8 showed up after 5.26.0 ... which made me investigate sort, which is when I found this option :)
erix atm running billion row table replication (pg-)tests...
[Tanktalus]: Tux: ah, still... :)
Tux writes mail to tcsh developers ...
Tanktalus snickers :)

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (11)
As of 2017-09-25 16:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (284 votes). Check out past polls.

    Notices?