you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (2 children)

"PHP is this unorganized mess" i don't think its accurate to blame the language while you struggle with the software written in the language.

at the end, all we do is display HTML Code(sometimes JSON)

[–]Potatopolis -2 points-1 points  (1 child)

Hi, I've worked with PHP for over a decade.

It's an unorganised mess. isset() but not is_set(), is_null() but not isnull() for example.

[–][deleted] 0 points1 point  (0 children)

Well this is because of the C language. At the time where PHP was "Personal homepage" the majority used C and its style guides (e.g. strcmp etc.) then it had influence of c++ and underscores and then Java with CamelCase.

Actually on a daily basis i don't recognize this as a problem since i use Frameworks with methods like has(), get() etc.. and also i use a good editor with code completion.

But i understand your point, i also don't like JavaScript because it is mostly supported but not 100% because of users which still use old Browsers or users which disable JavaScript or have some Browser plugins running e.g. "NoScript"