Re:JavaScript is not suitable for large web apps
by malandrew on Thursday June 14, 2012 @07:26PM
(#4114113)
So so true. If you are hiring "pricey smart [sic] jQuery guys" then you're probably doing it wrong. You need to be looking for solid software engineers that know javascript well. If the developers you are hiring think (jQuery === javascript) and can't explain the difference between classical and prototypal inheritance , then you're screwed before you even begin.
[ Parent
| on HN ]
Re:JavaScript is not suitable for large web apps
by tmzt on Friday June 15, 2012 @02:30AM
(#4115327)
Funny, the exact same question came up today. I'm curious what the actual difference between the two is as it's not apparent. (I use a mixture of function prototype with the extends pattern and CoffeScript which exports a function exporting a function.) From what I can see they behave the same as long as you follow the same pattern when writing a subclass.
Re:JavaScript is not suitable for large web apps
by malandrew on Friday June 15, 2012 @01:34PM
(#4117638)
The main difference in many cases is memory usage. When cloning in prototypal inheritance, you point back to the prototype's function, unlike classical inheritance where you are copying methods on every instantiation.
Re:JavaScript is not suitable for large web apps
by johncoltrane on Friday June 15, 2012 @04:34AM
(#4115585)
Prototypal inheritance is native to JavaScript while, simply because JS doesn't have classes, you have to go through quite a lot of troubles to make classical inheritance work.
Re:JavaScript is not suitable for large web apps
by heretohelp on Thursday June 14, 2012 @07:35PM
(#4114143)
Good to know somebody understood what I was talking about.
This is why I don't ask for a "jQuery" guy, I ask for a frontend engineer who's a solid programmer and likes working on interesting products.
Re:JavaScript is not suitable for large web apps
by cracell on Thursday June 14, 2012 @07:48PM
(#4114185)
I dislike the term frontend engineer or frontend anything because people use it to mean a whole range of things between JavaScript programmer, web designer, and HTML/CSS scripter. And while some people possess all three of those very different skills they are not at all the same thing.