Live data from Hacker News

JavaScript is not suitable for large web apps

blogs.adobe.com

1–10 of 218 posts

Re: JavaScript is not suitable for large web apps

#2
This is more of a rant against dynamically typed languages than against javascript itself, and making the argument that dynamically typed languages are not suitable for large web apps is a difficult (not impossible) one to make. The author also complains about some javascript projects being split up into enough files, which is hardly a side-effect of using javascript. The author inherited what sounds like a pretty disorganized javascript application and is using it as their real world example for why javascript shouldn't be used to write large web apps. In fact, almost everything in the post is anecdotal or subjective.

Re: JavaScript is not suitable for large web apps

#4
This is utter tripe. It goes from saying don't use javascript to use a high level language that translates down to javascript.

His main example of why javascript isn't suitable is an anecdote about a badly developed code base written in javascript. Seriously?

Re: JavaScript is not suitable for large web apps

#5
While I agree that JavaScript can be better but suggesting to compile your code to JavaScript as default is something that I cannot feel comfortable with. Doing it once or twice if the need be so makes sense but phasing out JavaScript and writing code in high-level language only to compile it back to JavaScript does not feel right to me. Why add another layer (compilers) of code conversion only to increase the surface area for critical bugs?

Re: JavaScript is not suitable for large web apps

#7
post #3

As I read more of these arguments, it makes me think a lot about whether I should switch to CoffeeScript before my web app gets any larger. Has anyone switched to CS or another language that compiles to JS, and regretted it?

I switched to Coffeescript and rarely if ever look back...

Re: JavaScript is not suitable for large web apps

#8
post #3

As I read more of these arguments, it makes me think a lot about whether I should switch to CoffeeScript before my web app gets any larger. Has anyone switched to CS or another language that compiles to JS, and regretted it?

It's hard to imagine having much regret about a switch to CS since it would be so easy to convert your code back to JS if you ever needed to (and since you could do so incrementally).

Re: JavaScript is not suitable for large web apps

#10

This is more of a rant against dynamically typed languages than against javascript itself, and making the argument that dynamically typed languages are not suitable for large web apps is a difficult (not impossible) one to make. The author also complains about some javascript projects being split up into enough files, which is hardly a side-effect of using javascript. The author inherited what sounds like a pretty di…

The OP seems to be very willing to draw general conclusions when none are warranted.

When faced with a project in which code modularization was a problem, his proposed solution was to port the code? Seriously? Port Javascript to Actionscript because the .js was organized into too few modules?

mmmm-okay.

Post reply on HN