Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^4: Useless use of string in return statement

by Your Mother (Archbishop)
on Apr 13, 2021 at 15:13 UTC ( #11131190=note: print w/replies, xml ) Need Help??


in reply to Re^3: Useless use of string in return statement
in thread Useless use of string in return statement

I believe TheDamian suggested it in the excellent style guide PBP. Itís one of the few suggestions in the book I oppose. Post-fix conditionals are, to me, extremely natural language. If kept terse and indented properly, they make code more readable.

  • Comment on Re^4: Useless use of string in return statement

Replies are listed 'Best First'.
Re^5: Useless use of string in return statement
by Bod (Deacon) on Apr 13, 2021 at 15:20 UTC

    It's a book that has sat on my bookshelf for many, many years. I did once delve into it and concluded it was beyond me. Having increased my understanding and exposure to Perl quite a bit since then, I have moved it from bookshelf to desk and shall take another look...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2021-07-28 06:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?