News for hackers. Stuff that matters.
Re:Anti-if: The Missing Patterns by RodgerTheGreat on Friday June 10, 2016 @02:51AM (#11874689)
In this very specific instance, you could easily and idiomatically reuse a single instance of an immutable empty list:

https://docs.oracle.com/javase/7/docs/api/java/util/Collecti...

No dynamic heap allocation necessary.

There are no comments on this comment yet.