this.post()
Friday, December 12th, 2003 10:41 amJavaScript:
Pro: Prototype-based language. Functions are objects. Closures and anonymous functions are supported. Object introspection is easy. Mozilla has a cool debugger.
Con: Beyond syntax, absolutely no compile-time checks; if you've got a simple error in an infrequently used part of your code, you may not discover it. Despite features that support elegance, code tends toward ugliness. Oh, and the biggest frickin' problem? You have to write platform-independent code, but the platforms aren't consistent. Hiss.
(This is largely an excuse to be quixotic.)
Pro: Prototype-based language. Functions are objects. Closures and anonymous functions are supported. Object introspection is easy. Mozilla has a cool debugger.
Con: Beyond syntax, absolutely no compile-time checks; if you've got a simple error in an infrequently used part of your code, you may not discover it. Despite features that support elegance, code tends toward ugliness. Oh, and the biggest frickin' problem? You have to write platform-independent code, but the platforms aren't consistent. Hiss.
(This is largely an excuse to be quixotic.)