in reply to Perverse Unreadable Code
If the tools you've grown up with lack the descriptive power of Perl, you might well think that such a feature is a horror. But once you've done a bit of Perl and get used to it, you may find yourself cursing the lack of descriptive power of other tools.
To my eye print "About to fetch $url\n" if $debug; is more readable, and less disruptive to reading flow, than
As with any feature, this one can be abused. Which is why it's important to distinguish between the perversity of the tool and the perversity of the tool user.if ( $debug ) { print "About to fetch $url\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Maclir)Re: (dws)Re: Perverse Unreadable Code
by Maclir (Curate) on Apr 26, 2001 at 10:51 UTC |