On Wed, Jun 25, 2008 at 12:55:02PM +0000, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
o The new builtin function m_generation isn't critical enough to deserve a place on the global level imho.
i think we should reduce the global level as much as possible, people get confused as to where to find things. anything that also fits in another place should go there. at least for the less often used stuff.
how about Mapping.generation()?
o If this is the way to go, it's not far fetched that generation counters will be added to the other data types too. Thus the names "m_generation" and "_m_generation" (for the lfun) aren't generic enough. Simply "generation" and "_generation" seems better.
i agree with that.
greetings, martin.