Live data from Hacker News

PHP needs a vision

news.php.net

21–30 of 182 posts

Re: PHP needs a vision

#21
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.

It's not an "empty, non-contributing comment" to those of us who have had to use PHP, especially after years of using far better languages. It rings especially true to us who have seen the horror systems implemented in PHP can be.

Re: PHP needs a vision

#22
post #2

Too late if you ask me, let me explain: Programming languages are hard to change, very hard, because it will certainly break programs written in it in many places. So if you want a programming language with a vision you should start with it, or simply accept it has no vision and it merely goes with the whim of its maintainers. The latter is what I believe happened to PHP. No biggy, there are plenty of languages that…

PHP has changed a lot over time. It moved from a C-style procedural language to very Java-esque object oriented language. "PHP" hasn't been "PHP" for a long time already.

It's always hard to do large language changes, but it's not impossible. E.g. consider the change that PHP did from version 4 to 5. That was a pretty major paradigm shift, with lots of broken code, but it worked out well in the end :)

Re: PHP needs a vision

#23
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?

This is one of the points I always try to make with other tools... if you can do what you want with it, and it suits the needs of your project, you don't need to "move on" to something else.

Sure, it's good to keep your mind open, investigate other possibilities, and keep your eyes forward... but if you're able to draw the pictures you want and like, it doesn't matter if you're using crayons or oil paints.

Re: PHP needs a vision

#24

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,…

That vision is stale and cancerous for the PHP community. The directive is and always has been along those lines, "real programmers don't use PHP". For some reason the core team has pushed that. There are a lot of us who use PHP full time who would also love for some real, cohesive decisions to be made in favour of bringing vision to PHP. Sadly the internals list is always just a shitstorm.

Anthony's view is that of someone trying to make the language better for those of us who use it day-to-day. To make it a real contender in web languages, because it does have that potential.

Re: PHP needs a vision

#25

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.

It's not an "empty, non-contributing comment" to those of us who have had to use PHP, especially after years of using far better languages. It rings especially true to us who have seen the horror systems implemented in PHP can be.

I feel as though we ought to hold our comments to higher standards than "expresses a strong negative opinion with no supporting evidence or reasoning". Maybe that's just me?

It certainly feels strange that this sort of comment is being defended when the same comment with PHP replaced by Python/Ruby/(Java/Coffee)script/Haskell/C/C++ would be universally reviled.

Re: PHP needs a vision

#26
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?

Except that Guido never said that Python is meant only for a "random Joe" to "whip up" a script when "he's in a DIY mindset".

ETA: In fact, compare:

http://www.python.org/about/

http://php.net/manual/en/preface.php

Re: PHP needs a vision

#29
post #22
post #2

Too late if you ask me, let me explain: Programming languages are hard to change, very hard, because it will certainly break programs written in it in many places. So if you want a programming language with a vision you should start with it, or simply accept it has no vision and it merely goes with the whim of its maintainers. The latter is what I believe happened to PHP. No biggy, there are plenty of languages that…

PHP has changed a lot over time. It moved from a C-style procedural language to very Java-esque object oriented language. "PHP" hasn't been "PHP" for a long time already. It's always hard to do large language changes, but it's not impossible. E.g. consider the change that PHP did from version 4 to 5. That was a pretty major paradigm shift, with lots of broken code, but it worked out well in the end :)

> It moved from a C-style procedural language to very Java-esque object oriented language

The funny part is, it did not make things better.

Re: PHP needs a vision

#30
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.

I admit I only now followed the link to the article, that is how biased I am. Turns out it is an article that basically says "we have no idea how to get out of the mess we created". How much content is in that? I stand by my statement...

Is it not a valid opinion to sometimes say it is time for a thing to die? Why keep investing in hopeless tech?

Post reply on HN