I've been writing some Perl code recently, and a couple of ideas have occurred to me.
- Closures are great when you have several behaviours which can all vary independently; objects are great when you have several behaviours that must all vary in sync with one another. Put another way: if your problem is combinatorial explosion of objects, try using
( Read more... )
Comments 3
Reply
what works for you, etc.
-mat
Reply
Reply
Leave a comment