Hacker News new | ask | show | jobs
by tmtvl 1088 days ago
People dislike Java because of all the...

  public void setPints (int pints) {
    this.pints = pints;
  }

  public int getPints () {
    return pints;
  }
...-esque stuff, and similar overly verbose constructs you get when you follow certain Best Practice guides.

Personally I kinda like Java, despite it having 4 different kinds of brackets and object.method() syntax. Maybe it's the combination of 1 file 1 class and using classes for everything.

1 comments

Use Kotlin.
...because Kotlin doesn't use different kinds of brackets and object.method() syntax?

Regardless, I'll stick to Common Lisp and C for the time being, they're nice.

No, it has that.

It doesn't have the -esque syntax and similar overly verbose constructs.