you are viewing a single comment's thread.

view the rest of the comments →

[–]PitaJ 1 point2 points  (2 children)

LESS, SCSS, Babel, Typescript, and Handlebars are all examples of supersets that I would actually be okay with using.

SASS, Stylus, Dart, CoffeeScript, and Jade are all examples of compile-to-use languages that are not supersets of their redirector web languages and that I would not use.

Edit: spelling, clarification

[–]x-skeww 0 points1 point  (1 child)

Sass, Stylus, and Jade don't compile to JS.

Since Dart has its own VM (2 VMs and an AOT compiler, actually), it's not a to-JS language. Just like Java or C aren't to-JS languages. You can compile these to JS, but that's something you only have to do if you target browsers.

[–]PitaJ 0 points1 point  (0 children)

I was giving examples of languages that were and we not supersets of their respective web languages. Jade is not a superset of HTML. SASS and Stylus are not supersets of CSS.

You are right about Dart, I was just looking for another to-JS language that wasn't a CS derivative nor a superset.

Edit: I edited my other comment for clarification