Just another Perl shrine | |
PerlMonks |
Re: On bad habitsby DrHyde (Prior) |
on Jun 22, 2005 at 07:26 UTC ( [id://468923]=note: print w/replies, xml ) | Need Help?? |
I hate heredocs. They break your indentation.
And I probably have the opposite bad habit to you with regards to map/join/grep instead of foreach - I should use foreach more. With foreach, your code reads from top left to bottom right, but with map and grep your code keeps changing direction and can sometimes be harder to read. Incidentally, this whole thread - and the many others like it that we have had in the past here in the monastery - smack of Mao-ist self-criticism ;-)
In Section
Meditations
|
|