Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^4: Useless use of string in return statement

by Your Mother (Archbishop)
on Apr 13, 2021 at 15:13 UTC ( [id://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 (Parson) 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?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-19 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found