Re:Inside the JVM: Arrays
by SeanLuke on Friday August 25, 2023 @03:35AM
(#37259121)
Thing is, practically every modern programming language has zero-length arrays or lists. This is derived from Lisp, which had zero-length arrays (and of course zero-length lists). It's not at all surprising. What ought to be surprising is that among languages developed in the last 40 years, C++ almost uniquely does not have them. I use zero-length arrays all the time in my coding, as does everyone I know. I think they're probably much more common than you imagine.
[ Parent
| on HN ]
There are no comments on this comment yet.