Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PHP?


You don't really learn PHP so much as catch it.

Like a disease.


Pick PHP if you're very concerned with being able to find a quick, cheap online host for your web-app and you don't want to bother with learning another language (or with learning how to deploy web-apps in other languages, which really isn't very hard).


Pick PHP if you want to use Wordpress, phpBB, Drupal, and a wealth of other great open-source web apps.

P.S. Final post; great community here!


What do you mean final post???


I think he doesn't like all the upvotes for the snarky anti-PHP comment:

You don't really learn PHP so much as catch it. Like a disease.

At the risk of being modded down, the comment has some merit. PHP programmers usually gravitate to PHP without having much experience with related, but supposedly better, languages like Ruby, Python, Lua, etc. But PHP programmers who really dig into programming often leave for other languages. The Ruby and Python communities are full of ex-PHPers. But how many people from the Python or Ruby communities leave for PHP?

This isn't to say that PHP has no merit. It was my first web programming language. But maybe its merits don't stack up well against other languages, which is the subject of the original article.


I know I signed that as my final post, but I feel the need to assure you that I wouldn't be offended by something so silly.

Sometimes you just get bored with a place and feel like moving on :^)

I think I'll spend less time on sites like these and more playing this fine Buffet clarinet I picked up on Saturday. It's been a while, but my embouchure's returning already.


My misunderstanding. Enjoy the clarinet!


I don't know PHP, so didn't comment on it. Would it get its own category, or fit into one of the ones I gave?


Php is, in my opinion, a "templating" language (yes, I know it's not just a templating language). Closer to "scripting" than the other categories.


Probably a new category, templating languages, along with things like jsp, struts, etc. Python, Ruby, Perl are really general purpose languages.


The "scripting" category with Perl, Python, and Ruby.


I'd put PHP in a category with JavaScript, since they resemble p/py/r but were designed for web programming rather than scripting.


I guess that sort of works... but php is still serverside. Anyone doing web dev must learn javascript, but not necessarily php. Javascript would probably be competing with actionscript or any other client-side plugin stuff.


In fairness, why not just learn Perl? Then go back to PHP if it fits the problem space...


Agreed, Perl is much more of a real, complete language. If you know Perl, you can pick up PHP basics in an hour.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: