Autre | 14 years ago | on: Why big companies fail to keep talent
Autre's comments
Autre | 14 years ago | on: Improving EcmaScript5 OO with sugar
I do think the Object.getPrototypeOf approach is feasible for methods.
Autre | 14 years ago | on: Improving EcmaScript5 OO with sugar
Beyond the need for calling the constructor (which I'm currently viewing it as an unnecessary hidrance [objects are already initialized]), Object.getPrototypeOf may provide a way out - but maybe not the way you intended. Have you considered it?
Autre | 14 years ago | on: Improving EcmaScript5 OO with sugar
Autre | 14 years ago | on: I hate cut-and-paste
Autre | 14 years ago | on: Show HN: Hackerhub.org
If you've made changes to your profile, you may force a refresh by pointing your browser to hackerhub.org/r/yourid.Autre | 14 years ago | on: Show HN: Hackerhub.org
[edit:] Seems like rss, not atom feeds, are recognized.
Autre | 14 years ago | on: Praising Kernel (The Axis of Eval)
Autre | 14 years ago | on: Praising Kernel (The Axis of Eval)
Autre | 14 years ago | on: JavaScript is Dead. Long Live JavaScript
Autre | 14 years ago | on: Noir - The Clojure web framework
Autre | 15 years ago | on: How Javascript Prototypal Inheritance Really works
What is no mistake is the refreshing change of view you get when you start embracing objects and prototypal inheritance. See for example the traits library[1, 2].
[3]: Is a cursory introduction to Self, with another points example :)
[4] Contains an example of my own (heavily inspired by Self and Io). I have stitched together various internet sources to come up with `clone', an operator assisting in differential inheritance.
[1]: http://traitsjs.org/
[2]: http://code.google.com/p/es-lab/source/browse/trunk/src/trai...
Autre | 15 years ago | on: How Javascript Prototypal Inheritance Really works
[1]: https://developer.mozilla.org/en/Differential_inheritance_in...
Autre | 15 years ago | on: Mug: A New JavaScript compiler for the JVM
Autre | 15 years ago | on: Mug: A New JavaScript compiler for the JVM
for (var i = 0; i < 10; i += 1)
eval("function function_" + i + "() { print('i am ' + i); }");
for (i = 0; i < 10; i += 1)
this['function_' + i]();
but it seems like eval is not supported yet - i guess for good reasons.Autre | 15 years ago | on: Write code like you just learned how to program
OTOH, it seems like something is clearly wrong here since, we are having a tough time being professional and working with the current crop of languages, tools, technologies, etc and in the same time, fully expressing our vision while enjoining our work.
Autre | 15 years ago | on: Smalltalk in small talks: The Setup
Autre | 15 years ago | on: Apache is being forced into a Java Fork
Autre | 15 years ago | on: Oracle and Apple Announce OpenJDK Project for Mac OS X
Autre | 15 years ago | on: A degree is only as meaningful as its scarcity [2008]