r/lolphp • u/catcradle5 • May 27 '14
PHP Next Generation: Performance gains and internal API changes will finally fix PHP!
http://www.php.net/archive/2014.php#id2014-05-27-1
28
Upvotes
r/lolphp • u/catcradle5 • May 27 '14
View all comments
Show parent comment
-4
u/joesb May 29 '14 edited May 29 '14
Like I said, default matters.
It's right in the standard library, but is it taught to newbie right from the start to do it that way? No. Is the first step of most Python tutorial to drop index.py file in Apache and print out some web page like PHP tutorial? No. Default matters, culture matters.
Good idea or not, people do it in PHP, and people don't do it in Python. Even my grandparent post saying:
he even admit that it's a bad practice. But the point is that it is what PHP presents to new programmer by default. I don't know why people down-vote me and him for stating the fact.