Coffeehouse Post

Single Post Permalink

View Thread: JavaScript antiFUD, take it from someone who transitioned from C# to JS
  • User profile image

    , evildictait​or wrote

    I also utterly don't understand why anyone would want to program in dynamic languages and lose the static type system. I mistype stuff all the time, and I really like the fact that my compiler will tell me I made a dumb mistake rather than finding out later during testing, or worse, via customer support.

    I think what may have happened is that developers and tools got much better: developers got much better at designing and testing robust dynamic code (through working with server-side languages like Groovy and Ruby) and IDEs (I'm talking about Eclipse, NetBeans and IntelliJ) got much better at working with and debugging dynamic code. Overall this means that typos are less than they used to be and are much less likely to make it into customer hands.

    The other reason is something that Warren touched on:

    , warren wrote


    People are building x86 emulators and Linux kernels written in JavaScript.  As Scott Hanselman has repeatedly pointed out in the last year or so, JavaScript is the assembly language of the web.  

    Javascript has evolved into some sort of JVM, which means languages are being developed that compile into Javascript for running on clients and servers. As well as the 'thin veneer' add-ons like Coffeescript, you've also got your full-on languages like Fantom and Kotlin, both of which are statically typed.