News for hackers. Stuff that matters.
Re:Why Type Systems Matter by blauditore on Saturday August 19, 2017 @07:43AM (#15052846)
As others have mentioned, there's the diamond operator which has been around since Java 7.

> if you don't care what the type of map is

You can use raw types, it works perfectly fine (just generates a compiler warning). For explicitly being unspecific, you can also use a type wildcard (`?`).

There are no comments on this comment yet.