Re:How to name things: the hardest problem in programming (2...
by flukus on Wednesday June 21, 2017 @04:14AM
(#14601867)
> Empty array or not? Naming things is a minefield!
I'll go for option 3 and say that the naming error was further up the stack and that they really wanted a list and not an array. A list would have both a length (0) and a capacity (23).
I'll go for option 3 and say that the naming error was further up the stack and that they really wanted a list and not an array. A list would have both a length (0) and a capacity (23).