3 ms·
Calling something “syntactical sugar” makes it sound unhealthy. I found the ES6 classes to be very helpful in conceptualizing stuff. When I started playing wit
by ronilan 8y ago
Calling something “syntactical sugar” makes it sound unhealthy.
I found the ES6 classes to be very helpful in conceptualizing stuff. When I started playing with them I’ve built myself a demo https://codepen.io/ronilan/pen/PObzew https://codepen.io/ronilan/pen/PObzew as a clone of same done previously in Ruby. Then I found classes to be very useful for bigger “vanilla” projects (https://github.com/ronilan/BlockLike https://github.com/ronilan/BlockLike)
I’d call them “syntactical vitamins”.
- labster 8y agoThere's no alliteration there. I'd go with syntactic soylent.
- krapp 8y ago> Calling something “syntactical sugar” makes it sound unhealthy. I would argue that, more often than not, it is, and it becomes less healthy the more of it you have. Javascript, for all its faults, is syntactically a simple language and it should have been kept that way.