
Originally Posted by
griimnak
Where's your source on this claim? PHP is dominate in web development, have fun running into compatibility issues when trying to setup ruby, python with flask etc on a web dev environment.
@OP
Offical php refernce:
here
w3schools (where i first started):
here
Somewhat dated php ebook (might have some usefull info):
here
If you need help you can always PM me, as php is my best language.
Lol. I don't need any source, of course I'm talking from experience, as is everyone on this subject. My experience as a programmer has taught me how bad of a language PHP is. From its specification (or lack there of) to the horrible practices that it teaches a programmer.
But since you asked for links, and you might listen to people who are willing to list their credentials and are very well known in the industry.. here you go:
http://www.tbray.org/ongoing/When/200x/2006/02/17/PHP
http://eev.ee/blog/2012/04/09/php-a-...of-bad-design/
"PHP isn't so much a language as a random collection of arbitrary stuff, a virtual explosion at the keyword and function factory."
http://blog.codinghorror.com/the-php-singularity/
http://blog.codinghorror.com/php-suc...doesnt-matter/
I could go on linking articles from people I respect and people that have the respect of others in the industry.. nevertheless, I'm not just trying to hate on PHP. I'm trying to stop a kid on a forum from picking it up as his first language. Because it's the only language out there that will tempt him in with horribly written "tutorials" and "guides" and "how-tos" teaching him horrible practices that will make him unable to ever write good code in any language.
Start with Ruby or Python, both two excellent languages that are prime for web development. PHP is not required, sure it runs everywhere and the simplicity of shared hosting and two line installs has helped propel it, but if you're writing anything worth hosting or you're truly trying to learn how to program, then ten minutes setting up a local Python or Perl or Ruby instance should NOT be putting you off.
Edit:
To expand on this quote:

Originally Posted by
Evil
.... Why? It's needed in web development
This is what's wrong. This is what I'm targeting. You've already made so many mistakes in learning if you have this opinion, you've taken a wrong turn, you've read the wrong book. You need to wipe your mind clean. Go and do something in Python or Ruby so that you can be taught great values that will stick with you forever and make you appreciate clean code.
http://docs.python-guide.org/en/latest/writing/style/
https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
http://docs.python-guide.org/en/latest/writing/style/
Proper structure.