News for hackers. Stuff that matters.
Re:API Design is UI for Developers by mmahemoff on Sunday March 04, 2012 @01:55PM (#3663521)
> 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...

Re:API Design is UI for Developers by masklinn on Sunday March 04, 2012 @02:43PM (#3663693)
> 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.

Re:API Design is UI for Developers by ThomPete on Sunday March 04, 2012 @03:03PM (#3663764)
Depends on the perspective.

For a beginner PHP is simple and logical.

Re:API Design is UI for Developers by masklinn on Sunday March 04, 2012 @03:34PM (#3663874)
> For a beginner PHP is simple and logical.

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

Re:API Design is UI for Developers by ThomPete on Monday March 05, 2012 @01:32AM (#3665670)
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?

Re:API Design is UI for Developers by masklinn on Monday March 05, 2012 @02:11AM (#3665751)
> 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.

Re:API Design is UI for Developers by ThomPete on Monday March 05, 2012 @01:55PM (#3667777)
You skipped addressing the central part of what I wrote.