by nkozyra · 6y ago · 0 comments
JavaScript suffers from inconsistent mutation/return of array values in array functions, too.
PHPs design problems are mostly being swept away; it's the legacy that keeps its reputation down.
Basically, groups of functions are consistent: string,array etc. Their parameter order was usually based on whatever the underlying C API was.