|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re^2: why not listed foreach and if?by GrandFather (Saint) |
| on Feb 02, 2025 at 04:59 UTC ( [id://11163908]=note: print w/replies, xml ) | Need Help?? |
|
In JavaScript the ';' is not required and a human parsing JavaScript can easily misunderstand how the code will be interpreted if they are used. In Perl I do:
unless both the condition and the statement (note - just one statement) are simple and short. Perl allows me to use either construct.
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||