3 ms·
Our team uses snake_case for variable names and camelCase for function names in PHP to address that ambiguity. To me, the limited scope of variables with respe
by WiseWeasel 9y ago
Our team uses snake_case for variable names and camelCase for function names in PHP to address that ambiguity.
To me, the limited scope of variables with respect to functions makes debugging and code reading much easier, since everything I need to think about within a function scope is explicitly defined.