Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^10: bug or curly bracket hell?

by afoken (Chancellor)
on Jan 26, 2023 at 09:12 UTC ( [id://11149886]=note: print w/replies, xml ) Need Help??

in reply to Re^9: bug or curly bracket hell?
in thread bug or curly bracket hell?

Perl doesn't care how long or short your code is. As a general rule, aim for readability, not brevity.

From long experience, and especially from several years of writing medical and aerospace software: Optimize your code for readability, because most of the time, you will READ your (or someone else's) code. And more often than you will like, you will have to read old, ugly code from people who wanted to outsmart compiler and/or coworkers. And the worst code will be your own old code.


Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-07-13 19:41 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.