in reply to Re^2: Modules to reduce syntax?
in thread Modules to reduce syntax?
>Pyrrhic victory
perhaps a tad hyperbolic? OP asked for reduction in syntax (I read it as more readable) - not even "less typing"; but the only thing I can assuredly tell you is that I tend to use this module a lot nowadays. And it is true that eliminating a paired set of curlies in exchange for some dereference syntax is worth it to me; and "overhead" (whatever that means to the reader) is generally never something I even look at. My optimizations happen on the algorithmic or complexity level; IOW I avoid nesting loops in favor of ... hashes (and references to such) :-) In any case, I should have added a YMMV.
perhaps a tad hyperbolic? OP asked for reduction in syntax (I read it as more readable) - not even "less typing"; but the only thing I can assuredly tell you is that I tend to use this module a lot nowadays. And it is true that eliminating a paired set of curlies in exchange for some dereference syntax is worth it to me; and "overhead" (whatever that means to the reader) is generally never something I even look at. My optimizations happen on the algorithmic or complexity level; IOW I avoid nesting loops in favor of ... hashes (and references to such) :-) In any case, I should have added a YMMV.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Modules to reduce syntax?
by LanX (Saint) on Dec 27, 2021 at 18:54 UTC | |
by perlfan (Vicar) on Dec 27, 2021 at 22:02 UTC | |
by LanX (Saint) on Dec 27, 2021 at 22:33 UTC |
In Section
Seekers of Perl Wisdom