As Larry says, Perl is optimized for ease of use, not ease of learning.
Using statement modifiers is not obfuscation just because someone who has no idea of Perl will have a harder time understanding it. You shouldn't have to cater to the lowest common denominator.
Brevity is a corollary of laziness, and makes code easier to read. If you pick your shortcuts wisely, you will reduce the amount of red tape and thus make it easier for a reader to discern what the code is truly concerned with.
Obfuscation begins when the code uses roundabout ways of expressing its function, instead of straightforwardly stating what it is doing, so that the reader has a harder time telling the intent of a piece of code.
Good code says exactly what it is doing, as briefly as possible, using the constructs that most closely match the way a human thinks of the algorithm.
Makeshifts last the longest.
In reply to Re: Legible or Obfuscated?
by Aristotle
in thread Legible or Obfuscated?
by Velaki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |