Comment

Comment by henrikschroder

There was also a comment to the above saying that instead of writing:

  List<Ticket<ThingYouLove>> tickets = new ArrayList<Ticket<ThingYouLove>>();
You could write:

  List<Ticket<ThingYouLove>> tickets = new ArrayList<>();"
Nice, but I prefer C# there as well where you use the var keyword, like this:

  var tickets = new ArrayList<Ticket<ThingYouLove>>();

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton