Re: OO idiom avoiding switch and if
Re: OO idiom avoiding switch and if
- Subject: Re: OO idiom avoiding switch and if
- From: Greg Guerin <email@hidden>
- Date: Thu, 9 Apr 2009 23:12:32 -0700
Jeffrey Oleander wrote:
Advice on what's least messy overall or pointers
to sources of info would be appreciated.
http://en.wikipedia.org/wiki/Finite_state_machine
http://en.wikipedia.org/wiki/Reflection_(computer_science)
"Convert a string matching the symbolic name of a class or function
into a reference to or invocation of that class or function."
http://en.wikipedia.org/wiki/Type_introspection
On the whole, "least messy" depends on exactly what you're trying to
parse.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden