Hacker News new | past | comments | ask | show | jobs | submit login
Secrets of the JavaScript Ninjas (codinghorror.com)
29 points by sant0sk1 on Aug 14, 2008 | hide | past | favorite | 9 comments



The cover shows a samurai not a ninja, big difference :D


Of course you can't see the ninja. What kind of ninja would allow himself to be seen when he's sneaking up on a samurai?

I think the samurai represents Flash: He's from the same country as the ninja -- he might even be a close relative -- but his moves and his costume are a lot more ostentatious, and he's got better PR. He's also owned by a shogun who controls his every move.


A nice antidote to this completely nonsensical article: https://news.ycombinator.com/item?id=263021


Frameworks serve their purpose well, but at a price. They became popular with the advent of broadband and more client memory, both of which they use.

How will Javascript frameworks fare as more apps move to mobile devices and wireless networks? Only time will tell.


The point of frameworks is to write something well once. You might then iterate on the core application features, but since you use that code again and again it's cheap.

Many frameworks are larger than you might expect them to be because they take care of edge cases you haven't thought of. YUI for example is guaranteed to work in 6+ browsers on 3 platforms, as well as being tested with screen readers and other assistive technology of disabled users.

With regard to mobile devices, presumably the mobile devices are going to get fast enough to deal with it (my N95 deals with the YUI code on the yahoo.com homepage just fine) or we will make widgets specifically for those devices which are stripped down.


I think eventually we'll settle on compilers/translators which generate cross-browser JS object code from your notation of choice; like ParanScript (Lisp), Red (Ruby), and GWT (Java) with the feature completeness of today's best JS frameworks.


Or ECMAScript 4 translated to JS: https://ecmascript4.com/


anyone tired of people using ninja for everything? https://news.ycombinator.com/item?id=255587


I still like it




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: