|
|
|
|
|
by babuskov
4862 days ago
|
|
TL;DR: Poorly written shallow analysis. Really, he should've used a different title, say "JavaScript Rant" The author complains about the was language is designed, and says "might", "in some cases", "this is wrong" etc. without showing real examples. And he's also dead wrong on a few facts (like JS being a pure functional language). Looks like "let's bake something in 5 minutes" and post it to HN to get 57 points for nothing. |
|
An example of my last sentence: have look at how Titanium SDK (v2.1.x) folks designed their "parasitic inheritance" architecture following Crockford's book. A terrible, unusable, instable, un-hackable (wrong) use of JavaScript.
EDIT: I don't know if Steve Kwan is actually a _noob_ or not, but it looks like. Eg:
this is not one of the examples of "ways to create a function". This is actually an assignement using a function expression. These are the 3 REAL ways: