4 ms·
Unfortunately Perl coding culture includes a few deeply entrenched bad habits such as using horribly short variable names, overuse of the default variable, and
by snorkel 15y ago
Unfortunately Perl coding culture includes a few deeply entrenched bad habits such as using horribly short variable names, overuse of the default variable, and using regex when a simpler string match would suffice. These subtle bad habits make typical perl code hard to follow and thus reflect badly on the language itself.
- hapless 15y agoThat's not really a current concern for the perl community. That was true 15 years ago. Lots of 15-year-old code is out there on the internet for folks to sneer at.
- sliverstorm 15y agoIn my opinion, the fact that 15-year-old code is floating about and still relevant should be something to appreciate.
- grout 15y agoFor some people, though, any use of the default variable is overuse. Nothing to be done about that whine.
- snorkel 15y agoIMHO it's OK to use $_ in small scope contexts, like in a tight loop, but very offensive when $_ refers to an operation that occurred three pages back.