Comment

Comment by andrewbinstock

Author here. Zero-length arrays are used in the narrow domain you mention. but they are rare in bread-and-butter Java programming. Given some of the other comments on this page, you can see that this aspect is new to multiple readers. And in my experience speaking to Java devs, the reaction of surprise is far more common than "of course, I use them."

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton