News for hackers. Stuff that matters.
Re:Don't Be Afraid of Types by gleenn on Saturday March 22, 2025 @03:04AM (#43444100)
Java:

Map m = new HashMap() {{ System.out.println("I am a unique subclass of HashMap with a single instance!");}};

There are no comments on this comment yet.