News for hackers. Stuff that matters.
Re:Scala Center by lmm on Monday March 14, 2016 @07:15PM (#11286296)
Huh? Scala has nothing remotely resembling Javascript's weird prototype thing.
Re:Scala Center by acjohnson55 on Tuesday March 15, 2016 @08:51AM (#11289193)
True, there's nothing in Scala that's like the dynamic inheritance/delegation of JS. But I'd say that in practice, people use Javascript's prototype functionality to implement static class- or mixin-based OOP.
Re:Scala Center by lmm on Tuesday March 15, 2016 @11:29AM (#11290353)
Well sure, but I'd say Scala's model is more similar to any of Java, Python, Ruby or C++ than it is to Javascript. So I don't see that it's a "Javascript model".