Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for May 2007

Tom Hawtin

Thomas Hawtin's Weblog

Method-local methods for recursion - May 4, 2007

Often when writing recursive algorithms, the recursive method doesn't have a suitable interface to be published. The interesting method should be hidden, with a second, public method introduced to check arguments, set things up, do a bit of munging and tidy the furniture. However, conceptually there should be just one method. I generally start off writing a single method and then split (perhaps that makes me look like a bit of a recursion n00b). A "proper" language would have support for...
http://www.jroller.com/tackline/entry/method_local_methods_for_recursion
Available Archives
- January (1 item)
- March (1 item)
- May (1 item)
- November (1 item)
- December (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact