2 ms·
While I would love something that is not javascript, I have to disagree with the assesment that it is too hard to write a big app in. That would be true if you
by tomjen3 16y ago
While I would love something that is not javascript, I have to disagree with the assesment that it is too hard to write a big app in.
That would be true if you write it as one would write a C++ program, or even to the sizes one would write C++ programs in.
If you structure your program as a set of responses to events (the user clicked this button, this field lost focus, post/get resquest to this url) you automatically split the program up in many smaller pieces.
In addition a program that would be a million lines of C++ might very well be a lot less in Javascript, since C++ lacks a lot of the features which Javascript has (first class fuctions being one of them).