|
|
|
|
|
by acraciun
5304 days ago
|
|
Yes of course you cannot accomplish exactly the same things with Javascript as with Java for the simple fact that Javascript is imposed as (almost) the only scripting language understood by the browser. To use Java on the client side (not as an applet) you need a generator like GWT or our own Strongly-typed Javascript (http://st-js.sourceforge.net ). I agree that the line of code is maybe not the best way to measure the cost of development but it's a simple way to compare similar languages (given that all the other costs of the project are the same regardless the language). Using multiple complex external and internal libraries, refactoring the code to adapt to new business requirements, debugging in Javascript seems very time consuming to me. The help of an IDE these days is extremely important. A simple syntax highlighter (even with some auto-complete support) is far from being enough. I'm still curious what IDE you used for your project and what was the cost, the size of a module where the requirements didn't change much. As a side question, how do you rename a method for example with the tool use (imagine that another method with the same name exists in a different class/module)? |
|
I use Netbeans, it does not get a lot of press but they have been outpacing many of the dedicated JavaScript IDE's they have great JavaScript support.
how do you rename a method for example with the tool use (imagine that another method with the same name exists in a different class/module)
I use Dojo for large JavaScript projects, there really is not an alternative when you get the the application sizes I deal in, as such everything is namespaced. Netbeans can refactor methods in JavaScript, so I use the built in functionality of the IDE to do so.