Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


Sometimes 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.


Using 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: