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

> In many ways, PHP is that programming language. It’s simple, logical

I'll bite. From a UX perspective, PHP occupies the same important niche as WYSIWYG word processors or spreadsheets. Which is to say, optimized for beginners and quick websites. Even DHH has called it "absolutely perfect" [1] for small projects.

That's why I continue using PHP to whip up quick web apps, while reserving Rails or Node for heavier lifting. And I certainly wouldn't consider using PHP to do anything outside of a website, just like I wouldn't use Word or Excel beyond their own narrow scopes.

Also, the official PHP docs are substantially better than anything else. No weird 1997-style framesets, comments from other developers, and cool+predictable URIs (http://php.net/strlen).

[1] http://david.heinemeierhansson.com/posts/23-the-immediacy-of...



> I'll bite. From a UX perspective, PHP occupies the same important niche as WYSIWYG word processors or spreadsheets. Which is to say, optimized for beginners and quick websites.

Sure, I have no issue with that, I have issues with the assertion that PHP is simple and logical. Neither the language nor the standard library are. I'd hope I would not have to demonstrate this on HN of all places.


Depends on the perspective.

For a beginner PHP is simple and logical.


> For a beginner PHP is simple and logical.

We'll have to agree to disagree, because that is not a statement I can accept.


And yet reality speak for itself.

I think you are looking purely at the language itself when what you need to look at is everything from getting started to actually seing it in reality in your browser.

What language is easier?


> And yet reality speak for itself.

Yes indeed, PHP is objectively a complete mess of inconsistencies piled atop hacks and seemingly random behaviors.

> What language is easier?

That is a very, very different issue than the original subject.


You skipped addressing the central part of what I wrote.




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

Search: