|
|
|
|
|
by zzzcpan
4207 days ago
|
|
Consistency is about expectations. It is possible to check if caller wants an array or a scalar and return either or a reference to either. And so nobody expects a single way of returning things across all the functions. Therefore such behavior is consistent. |
|