For more on that try a Super Search on "functional programming". Another thing to do is think through the concept of a "dispatch table", where you try to replace complex (and possibly repetitive) logic with a lookup in a hash and then dispatch to your case. For a random example take a look at (tye)Re: How to build a real multi-level dispatch table.
In reply to Re (tilly) 1: Why are closures cool?
by tilly
in thread Why are closures cool?
by mr.dunstan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |