Keep It Simple, Stupid | |
PerlMonks |
Re^3: Language features affect styleby JavaFan (Canon) |
on Jun 08, 2009 at 17:25 UTC ( [id://769620]=note: print w/replies, xml ) | Need Help?? |
Yes, but a method name is usually only a handful of lines; you cannot expect you can deduce everything that happens from the name of a method. And what will be obvious for one, may not be clear for someone else.
And code doesn't have to mutate data to return something else. Perl has iterators called 'keys' and 'each' whose name doesn't suggest at all it's modifying something.
In Section
Meditations
|
|