4 ms·
One of the major features of a language is its syntax-- and here, it seems as if the author, instead of simply using another language, is "fixing" Java's verbos
by benbenolson 8y ago
One of the major features of a language is its syntax-- and here, it seems as if the author, instead of simply using another language, is "fixing" Java's verbosity by installing a compiler pass that converts "shorthand" Java into valid Java code. Why wouldn't the author just use another language?
- javagram 8y agoUsing Lombok is relatively simple compared to switching to Kotlin or Scala, I think. A few annotations don’t seem that much more radical than stuff like AspectJ.
- esrauch 8y agoSometimes just fixing the rough edges with syntactic sugar can provide a lot of value. Like, CoffeeScript got pretty far with that strategy. Honestly, a lot of the best TypeScript features could be described the way you describe it.