Re: New built-ins (`?whatever` things)... any opinions/ideas?
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.devel |
|---|---|
| Message-ID | <[email protected]> |
Thursday, August 9, 2012, 6:19:58 PM, Attila Szegedi wrote: > On Wed, Aug 8, 2012 at 4:01 PM, Daniel Dekany <[email protected]> wrote: >> Wednesday, August 8, 2012, 9:52:13 AM, Denis Bredelet wrote: >> >>> "chose" should really be "either" I think. >> >> (a < b)?either(a, b) >> (a < b)?chose(a, b) >> >> I don't know... any votes? Or an even better name? > > Well, "chose" is the past tense of "choose" and as such not terribly > intuituve. That was a terribly polite way of saying that my spelling sucks. :) > It seems that either "choose" or "choice" would be better, depending > on whether you're going for a verb or a noun. We have both nouns and verbs as built-in names... Any vote? (a < b)?either(a, b) (a < b)?choose(a, b) (a < b)?choice(a, b) -- Best regards, Daniel Dekany ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/