3 ms·
As a Scala contractor I fear the day I turn up to a job and get presented with a frontend layer that looks like that. The notion of a DSL in LanguageX -> JavaSc
by weego 13y ago
As a Scala contractor I fear the day I turn up to a job and get presented with a frontend layer that looks like that. The notion of a DSL in LanguageX -> JavaScript is an interesting research project, but if the outcome is not only way harder to read than LanguageX but also JavaScript it is perhaps a dead-end street in terms of actual anything good coming out of it.
JavaScript really isn't hard, trying to avoid writing it by writing a more complex language which gives you more JavaScript than you would have had anyway really can't ever be a win surely?
- weixiyen 13y agoYeah this is really a waste of time, and it will never pick up. CoffeeScript is the only language with a shot right now due to popularity.
- erokar 13y agoI'd say TypeScript and Dart are contenders as well.
- untog 13y agoRight now, yes. I say this as a developer that works primarily in CoffeeScript - I wonder if, when ES6 is finally available to all, interest in CoffeeScript will wane. Certainly half the reason I'm using it is to avoid some of the warts in JS.
- kybernetikos 13y ago> JavaScript really isn't hard, trying to avoid writing it by writing a more complex language which gives you more JavaScript than you would have had anyway really can't ever be a win surely? I've had massive business value from writing code in a more type safe language and then transpiling it into a number of other languages, including javascript.
- actsasbuffoon 13y agoI get your point, but to play Devil's Advocate: Assembly is about as simple as it gets. The venerable 6502 chip only had around 40 instructions. At one point it was the most popular programming language in the world (if you clump all the variants together). Every other programming language you can write just gets compiled down into more Assembly than you would have if you just wrote Assembly by hand, and it will probably be less efficient. Yet despite all of that, there are very clearly some big wins to be had by writing in those other languages.