in reply to (crazyinsomniac) Re: Coding superstitions
in thread Coding superstitions
On a related (im|ex)plicit note, I argued once when I was at uni about this code:
The lecturer insisted that I should take out the else and leave the last return dangling there. I still don't know which I prefer.sub fred { if ($_[0] == 'ooyah') { return 1; } else { return 0; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: (crazyinsomniac) Re: Coding superstitions
by blakem (Monsignor) on Jan 09, 2002 at 00:24 UTC | |
by n3dst4 (Scribe) on Jan 09, 2002 at 04:27 UTC | |
|
Re: Re: (crazyinsomniac) Re: Coding superstitions
by talexb (Chancellor) on Jan 09, 2002 at 19:37 UTC | |
|
Re: Re: (crazyinsomniac) Re: Coding superstitions
by seattlejohn (Deacon) on Jan 15, 2002 at 12:24 UTC |