4 ms·
Javascript is fine in itself as a language, but no one uses it like it's meant to be used. It's a prototype inheritance language and yet people try to use it li
by comrade1 12y ago
Javascript is fine in itself as a language, but no one uses it like it's meant to be used. It's a prototype inheritance language and yet people try to use it like regular java (classes and instances).
The problem you probably have is with the DOM, not the language.
- nilved 12y agoNo, my problem is definitely with the language. JavaScript has some PHP-level horrors in it, especially when it comes to type coercion.
- comrade1 12y agoI can't believe I'm having to stick up for javascript... I don't particularly like it myself, and I think the growth of node.js oven the past few years is one of the biggest jokes in our industry... But that said, every language has its surprises when it comes to coercion/equality/etc. When you move from Java to Ruby you get burned by the differences and when you move from just about anything else to javascript you suffer as well. You as a programmer just have to know the differences between these languages and work appropriately. Again... I can't believe I'm sticking up for javascript. I prefer strongly typed languages that can have projects with several dozens to hundreds of developers. But I can see the appeal for javascript and other prototype inheritance languages. My first two languages were Dylan and Newtonscript.
- na85 12y agoI think I can discern for myself whether I dislike the DOM or Javascript, thank you very much.
- comrade1 12y agoYou only talk about client-side related features. Nothing about the language itself. I don't mean to be autistic - I now understand what you meant but it wasn't clear from the start of your post.