[Prototype-core] Re: Function.EMPTY and Function.K

2009-10-15 Thread Andrew Dupont
On Oct 15, 2009, at 4:22 AM, T.J. Crowder wrote: > > Hey Andrew, > > Aren't all functions constants, in that sense? Function.EMPTY isn't > more or less constant than Element.extend. Function.IDENTITY and Function.EMPTY are never called directly, though. They're canonical functions. Meh, if

[Prototype-core] Re: Function.EMPTY and Function.K

2009-10-15 Thread Ryan Gahl
Guys... (tapping shoulder)... um this is some pretty inconsequential stuff that's being debated, wouldn't you say? Just do Function.empty = Function.EMPTY = function() {}; (or just pick one) Sorry, it really just doesn't matter vs. file size, modularity, performance, features, (17 other face

[Prototype-core] Re: Function.EMPTY and Function.K

2009-10-15 Thread T.J. Crowder
Hey Andrew, Aren't all functions constants, in that sense? Function.EMPTY isn't more or less constant than Element.extend. -- T.J. ;-) On Oct 15, 1:08 am, Andrew Dupont wrote: > Weighing in again, decades after starting the thread. > > First, I'm fine with calling it Function.IDENTITY instead

[Prototype-core] Re: Function.EMPTY and Function.K

2009-10-15 Thread Jim Higson
On Thursday 15 October 2009 01:08:53 Andrew Dupont wrote: > Weighing in again, decades after starting the thread. > > First, I'm fine with calling it Function.IDENTITY instead of Function.K. > > On Sep 25, 2009, at 1:26 AM, T.J. Crowder wrote: > > Make sense. Shouldn't that be Function.empty and