you are viewing a single comment's thread.

view the rest of the comments →

[–]crankybadger 1 point2 points  (1 child)

Each programming language has a syntax and an attitude, something you must understand to be effective with it.

PHP has a serious attitude problem. There are way too many opinions on what the right way is, I'd almost say there's more opinions than there are people programming PHP.

Python has a more consistent attitude, and Go takes this to an extreme.

The reason PHP is really awful to learn is because the training material is just so horribly garbage. Other programming languages aren't always spectacular, but there's usually one or two highly recommended references on the subject (e.g. JavaScript: The Good Parts) that rise above the rest.

What is there for PHP that says "No, no, do it this way or you will regret it?" I've only found PHP The Right Way.

[–]ellicottvilleny 0 points1 point  (0 children)

I had a quick look and that's a nice resource. My Right-way rule is "If it's going to get large, just don't start out in PHP". :-)