Live data from Hacker News

PHP needs a vision

news.php.net

11–20 of 182 posts

Re: PHP needs a vision

#11
post #5

That closing appeal to deal with the abusiveness of the php.internals list fell a little flat given the opening statement of "shut up". I loved Rasmus' answer to this though. http://news.php.net/php.internals/64771 > The vision has been the same for years. A general purpose scripting > language with a focus on web development. You are simply saying you want > the vision to be more specific than that because everyone…

Personally I find nothing much 'general purpose' about PHP. The language has configuration files! That alone prohibits me from doing anything generic with it.

So all that's left for me is 'focus on web development'. And to be honest: I think today it is not even so good at that. We have server side JS (Node), Ruby, Python and Java -- all freely available with huge communities. Does PHP stack up against these today?

I sure see that back in the days, when cgi scripts in Perl were the norm, PHP had huge advantages over its direct competition in open source web dev land.

To me Rasmus merely underlines the lack of vision, or ability to act on one.

Re: PHP needs a vision

#13
post #3

PHP needs to die Sorry...

Empty, non-contributing comments like yours that appear in every single thread about PHP on HN need to stop being posted. Not sorry, I mean it. Stop.

Questioning the value of a technology which inhabits the technology industry much like a cancer is not empty.

PHP needed a vision 15 years ago. It was originally called "Personal Home Page" and intended to only slightly extend the functionality of Server-Side Includes. People tend to forget that.

Re: PHP needs a vision

#15
post #11
post #5

That closing appeal to deal with the abusiveness of the php.internals list fell a little flat given the opening statement of "shut up". I loved Rasmus' answer to this though. http://news.php.net/php.internals/64771 > The vision has been the same for years. A general purpose scripting > language with a focus on web development. You are simply saying you want > the vision to be more specific than that because everyone…

Personally I find nothing much 'general purpose' about PHP. The language has configuration files! That alone prohibits me from doing anything generic with it. So all that's left for me is 'focus on web development'. And to be honest: I think today it is not even so good at that. We have server side JS (Node), Ruby, Python and Java -- all freely available with huge communities. Does PHP stack up against these today? I…

On a more positive note:

I think the Symfony team actually has the vision: provided it has to be with PHP, let's make a full stack web development framework (like Rails) that does not suck, and create heaps of interesting components/libraries that can be used perfectly on their own in the process!

These guys and girls are showing to what extend PHP can be pushed, they also build a fair share of general purpose libs that the PHP community badly needed (e.g.: composer).

It you are looking for PHP with a vision, line yourself up with Symfony: they seem to have it.

Jokingly: If web development is what PHP is useful for, then Symfony simply needs to be shipped with it :)

Plenty of vision is communicated from their site, and it all makes sense:

http://symfony.com/symfony-at-a-glance

http://symfony.com/elevator-pitches

Re: PHP needs a vision

#16

Earlier quoted context omitted.

Empty, non-contributing comments like yours that appear in every single thread about PHP on HN need to stop being posted. Not sorry, I mean it. Stop.

Questioning the value of a technology which inhabits the technology industry much like a cancer is not empty. PHP needed a vision 15 years ago. It was originally called "Personal Home Page" and intended to only slightly extend the functionality of Server-Side Includes. People tend to forget that.

> PHP needs to die

That comment is extremely insightful. How did I not see this?

> It was originally called "Personal Home Page"

I was originally 19 inches long and crapped my diaper several times a day. PHP has grown and changed tremendously since those days. It's not the same codebase, at all: "Finding PHP/FI 2.0 still inefficient and lacking features they needed to power an eCommerce application they were developing for a university project, Andi Gutmans and Zeev Suraski of Tel Aviv, Israel, began yet another complete rewrite of the underlying parser in 1997.".

Re: PHP needs a vision

#17
I couldn't agree more, and I'm a fan of PHP. It's a swiss army knife of a language, allowing you to program however you want. C programmers can code procedurally and java guys can jump in and basically go all out with the OOP constructs provided. I've watched PHP get better over the years, and it continually does so, but after having switched recently to Ruby, I have to say a solid "Benevolent Dictator" would probably not be such a bad thing for the language. Ruby has its paradigms, its own way of doing things, and you frankly can't develop software in many ways PHP allows you to, but for me Ruby is still a much more succint and beautiful lang, one I enjoy programming in more, I think partially because it has this, a set way of thinking about software design. I mean unit tests are in the stdlib for example, and you can't program long in the language without using utils, gems, etc, that all are chalk full of test suits that pass.

IMHO, a programming language should not just focus on itself or whether it has such and such feature, but on how it can be used in the entire software development cycle. This is something Go and Ruby are doing exceptionally well, and is why I like using them so much to build software, whether its web or otherwise. Probably because of its history as a template language embedded into HTML (way back when :), PHP has still got some growing pains in order to build up its software development paradigms, but I'm still hopefull, it has gone amazingly far and continues to improve.

Re: PHP needs a vision

#18
post #7

Stas responded here: http://news.php.net/php.internals/64775 "PHP's vision is being simple and practical and focused on the web. PHP is what people use to get their first site off the ground. PHP is what a web designer learns when he/she wants to go into programming. PHP is what a random Joe uses when he needs to whip up a page and he's in "do it yourself" mind. PHP is what you expect everybody to be able to handle,…

Python has often been called an easy to learn language and a good first start because it tries to be easy to read. Does that mean that it is also a beginner's language that people eventually are supposed to move on from?

People who pickup Python will always stay and never move on completely.

My programming carear startet with perl -> php -> python and i found one holy grail to solve most of my problems. Python had an easy entry point the same as PHP but when you jumped over the first learning curve and discovered the complete ecosystem it`s mindblowing.

I never had that feeling with PHP you could do websites and thats it. And most of the time it gets a mess real quick. PHP will slowly phase out over the next decade.

Re: PHP needs a vision

#19
post #9

Earlier quoted context omitted.

Empty, non-contributing comments like yours that appear in every single thread about PHP on HN need to stop being posted. Not sorry, I mean it. Stop.

Your comment made me curious about it and I see that Tichy has about 15K in karma. If he and a hundred people like him quit HN it would probably fix a lot of what's wrong with it.

This is irrelevant and does not add to the discussion.

Just like Reddit, Karma is not intended to say "my voice has more weight than yours". Karma is a way of letting people know you agree with them, but, just as in a court of law, if you can find one person willing to speak the truth they can stand strong in a house of lies.

Long and short, PHP is going to continue for some time, (just like COBOL, just like assembly) and wishing it was dead is about as effective as a life-savings program subsidized by the Tooth Fairy.

Re: PHP needs a vision

#20
post #5

That closing appeal to deal with the abusiveness of the php.internals list fell a little flat given the opening statement of "shut up". I loved Rasmus' answer to this though. http://news.php.net/php.internals/64771 > The vision has been the same for years. A general purpose scripting > language with a focus on web development. You are simply saying you want > the vision to be more specific than that because everyone…

I think that Rasmus and Anthony seem to have two different thoughts on the word "vision". Anthony was very specific in the fact that his concept of a "vision" is about the paradigms PHP supports:

> 1. "PHP Should Strive To Be A Full Featured Object Oriented Language".

> 2. "PHP Should Remain A Procedural Language WIth Some OO Features"

> 3. "PHP Should Be Implementation Neutral, and Support All Paradigms Equally".

Rasmus' response was more general, about the vision for who and what they'd like to enable with the language.

There may be a bit of cross over, but they are two distinctly different views. And for what its worth, I think both are correct. I think PHP should choose to be one of the three things Anthony suggested, and stick to it. This would help in discussions about what features to take on board in new versions. I also think that Rasumus is right in that PHP is a general purpose scripting language with a focus on web development. However this is more about the type of people you will get interested in using and contributing to the language.

EDIT: Grammar

Post reply on HN