3 ms·
There have been attempts to fix this by creating languages which compile to each of those: HAML for HTML, CoffeeScript/Dart for JS, SASS/LESS for CSS. The lang
by Zikes 13y ago
There have been attempts to fix this by creating languages which compile to each of those: HAML for HTML, CoffeeScript/Dart for JS, SASS/LESS for CSS. The language benefits tend to be fairly obvious, but there hasn't been much of anything in the way of native browser adoption that I've seen yet, apart from Google's plans for Chrome & Dart.
- RaphiePS 13y agoNow, I haven't used SASS/LESS that much, so feel free to correct me, but it seems like they're solving a different problem. They keep your code DRYer, add nice things like mixins, etc. However, they don't abstract over tasks like layout--you're still stuck with hacky CSS tricks and semantics.
- masklinn 13y ago> Now, I haven't used SASS/LESS that much, so feel free to correct me, but it seems like they're solving a different problem. You're correct, but that hasn't stopped people from trying.