3 ms·
I think you're a little bit eager to defend JavaScript's OO credentials here. Nobody said anything like "objects in JavaScript aren't proper OO" or "JavaScript
by chc 16y ago
I think you're a little bit eager to defend JavaScript's OO credentials here. Nobody said anything like "objects in JavaScript aren't proper OO" or "JavaScript is not an OO language." Caleb said that he prefers to use a functional style of programming in JavaScript and tends to treat objects as simple maps.
- calebmpeterson 16y agoGlad to see that my explanation wasn't hopelessly incomprehensible. Now if only JS supported immutability... I think I'll go learn some more Clojure. :)
- olavk 16y agoIn ECMAScript 5 there is support for immutability with Object.seal(), Object.freeze() and Object.preventExtensions()
- olavk 16y agoYou are right. Apparently I cant read.
- calebmpeterson 16y agono problem at all-happens to me regularly