DEV Community

Discussion on: Question: How many of you google basic things for your language after several years of experience?

Collapse
 
moopet profile image
Ben Sinclair

I'm (mostly) a PHP developer these days. I've been doing it on-and-off since PHP 3.
I have to look up the order of arguments to common functions all the time because PHP was written by a bunch of people who couldn't agree on anything.

Collapse
 
trueneu profile image
Pavel Gurkov

Thanks for sharing. Bad language design == no mnemonics == look ups, gotcha. :)

Collapse
 
darkain profile image
Vincent Milum Jr

Technically, they did agree on one particular thing: consistency with the underlaying C libraries PHP functions were calling. But these C libraries were never built with each other in mind. PHP was initially "scripted C", and so everything uses those function parameter order. Programming in C and jumping to PHP is natural if you're used to the underlaying libraries, but when taken as a collection, the inconsistency does shine.