| |
PresentationProblemsWithJavascript
Page history last edited by Anonymous 4 yrs ago
Problems With Javascript
Javascript has most of the disadvantages of scripting languages, weird syntax, and few of the advantages of other scripting languages relative to the problems you're solving
* Hardly any real tool support
* OO syntax is awkward, painful to read, and not understood by current IDEs
* No packaging, and there are nasty dependencies on static initializers or subclassing
* Expand-o properties, implicit null returns, and weird scoping rules are murder if you're coming from Java
* Agile programming requires a ton of refactoring, and refactoring time in JS (for me) scaled linearly with the amount of code
* Agile programming requires a ton of unit testing, which isn't well supported yet in JS
* If you're used to an IDE doing everything for you, it's annoying to have to look up docs all the time, especially when they don't really tell you what's specific to what browser
* With multiple people working on the code base, you really need 100% unit test coverage in order to keep things from constantly breaking
* Eval and closures and dynamic properties and such are nice in some circumstances, of course, but it's not like you're not writing a web server or talking to a database with it
* Hard to keep code from breaking without automated testing (compilers are nice too).
* If you're doing web programming or AJAX-y stuff you don't really have a choice of language
Next: PresentationPotentialSolutions
PresentationProblemsWithJavascript
|
|
Tip: To turn text into a link, highlight the text, then click on a page or file from the list above.
|
|
|
Comments (0)
You don't have permission to comment on this page.