Quote:Original post by h3r3tic
if PHP is so easy to learn and so clear then why am I getting negative comments about it in the environment around me all the time ? Am I doomed ?
Nope. PHP is easy to learn as for a web scripting language. But seriously, has anyone who claims that PHP is so easy and fun ever looked at alternatives other than JSP or ASP ? Because there may be languages that are EVEN EASIER TO LEARN. And compared to them, lets say it silently now 'php MAY suck'. but only compared to them. for sb who has never known any better alternative it may be the best language ever. just like what i thought C++ was. and many other ppl as well. read some interviews with Bruce Eckel, a C++ advocate, who's finally also noticed that not everything is so beautiful in thal lauguages.
There are alternatives. But hmm, for now, no, PHP is not being phased out and I don't expect it to be only because there are so many ppl claiming for it to be so good.
Yes, I have looked at, and used, alternatives. I was a lead web developer for over 3 years, at which I had to use a great deal of different technologies; PHP included.
You're gettnig negative comments about PHP for several reasons:
1. Some people are elitist, and would simply tell you another language "sucks", just because they use something different.
2. Not everyone advocates the use of open source in commercial projects.
3. They don't like the fact that at first glance, the syntax is similar to PERL, which is renowned for obfuscated scripts.
There is a quote that goes along the lines of, "PERL is the only language that looks the same, before and after, RSA encryption.".
4. They don't see the point in learning a language, such as PHP, when they've already been trained to use ASP.NET, which might have been quite expensive.
5. They base their opinions of PHP, on products such as PHPNuke - renowned for their security problems, and attribute that to problems with the language itself.
Every language has pros and cons, and PHP is no different in that respect. If someone gives you a hugely negative view on any language, it's most likely because they've never used it to a large extent, or for the proper reasons.