DEV Community

Discussion on: What's the deal with downing PHP development?

Collapse
thinsoldier profile image
thinsoldier • Edited on

What IDE are you using that doesn't autocomplete htm* ???

Similar problem exists when a library for one task was written by a camelcase fan and another by a snake case fan but I need to use both in 1 script.

But it's not a problem when the IDE can autocomplete.

Collapse
donaldsebleung profile image
Donald Sebastian Leung

Autocomplete may help you write code faster and reduce the burden of memorizing method names (for example) but it still doesn't change the fact that other developers will probably require slightly more effort reviewing/understanding your code just because there is a random mix of camelCase and snake_case.

Thread Thread
thinsoldier profile image
thinsoldier • Edited on

The most likely person to review my php code is someone who also knows php.

And if I'm using a library whose author preferred camel case along with another library whose author preferred snake case, the problem still exists independent of PHP's inconsistencies.