Tristan Zajonc (2013-10-29T18:13:40.000Z)
domenic at domenicdenicola.com (2013-11-03T22:04:09.645Z)
On Tue, Oct 29, 2013 at 10:08 AM, Brendan Eich <brendan at mozilla.com> wrote: > The Haskell folks will disagree with you, but I'll let them speak for > themselves. My point here is only that I don't think JS should adjudicate this debate in the context of operators. It seems like this discussion should happen if a Matrix type is added to the core of JS. Having operators would encourage the development of cow paths. > Item 2 is important but hard to get right in the face of mutable objects > and prototype chains. I don't understand this issue well enough to comment. > Almost certainly. I'm starting with value objects because in design, > leaving things out (without necessarily being future-hostile to extension) > is generally better than trying to do include too much. > > The value class syntax (operator multimethods) that I showed at JSConf.eu > could easily be class syntax, as you surmised. Got it. I'm a fan of the syntax and dispatch mechanism.