Think about Loose Coupling | |
PerlMonks |
Re: Mutator chaining considered harmfulby toma (Vicar) |
on Dec 29, 2004 at 09:13 UTC ( [id://417951]=note: print w/replies, xml ) | Need Help?? |
Chained mutators can
Want to see another channel? Call anatrace again. I don't think that features with potential downsides should be 'considered harmful'. It is possible to create a 'little language' out of chained method calls. I avoid creating little languages because I have seen a few of them grow into voracious blood-sucking monsters. I can enjoy chaining method calls without fear of triggering a science-related memetic disorder.
It should work perfectly the first time! - toma
In Section
Meditations
|
|