Re:Microsoft shoots down Google's Dart
by munificent on Wednesday November 23, 2011 @07:39PM
(#3272472)
Closure compiler doesn't just compile vanilla JS. It supports type annotations in comments and will use those to generate code. It's type system supports classes and interfaces. The Closure library has support for class-style inheritance.
Programming in Closure-style JS feels like you're using an optionally-typed class-based language, just one with really terrible syntax.
Programming in Closure-style JS feels like you're using an optionally-typed class-based language, just one with really terrible syntax.