Hi!

On Oct 14, 2009, at 1:09 PM, Jim Starkey wrote:

Implementing 'now' as a manifest constant rather (or in addition to) a pseudo function has much going for it. You can also do 'today', 'tomorrow', 'yesterday', and 'Ann\'s birthday', though the latter is probably less general.

If you did it as a constant, every time you wanted to add a new function you would be modifying an enum. Removing a function? Still sounds bad.

Using a string to match with knowledge that it was a function that was asked for works. One further step might be to identify the version of the function that existed during the creation just to be on the safe side. Or hell... implement COM :)

Cheers,
        -Brian

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to