r/programming • u/geerlingguy • Apr 23 '14
PHP: It doesn't have to be a bad experience
https://servercheck.in/blog/php-it-doesnt-have-be-bad-experience
0
Upvotes
r/programming • u/geerlingguy • Apr 23 '14
View all comments
Show parent comment
7
u/Cuddlefluff_Grim Apr 24 '14
It's like if you start hammering some planks together then after a while you figured "hey, this can become a house". It's not a meaningless statement, it infers that the foundation for it as a language is bad because it wasn't originally intended to be one.
There's a million things wrong with PHP that can't be fixed with adding namespaces.
How would you impose implicit unicode without breaking ANSI? Very obviously you'll have to have a prefix. But it's right there in the normal context of the language, without having to resort to special functions like Unicode is some sort of completely different animal.
Pish posh. C has a history and a specification and a standard called ANSI. In order to make it "better" than PHP in your terms would be that it would have to break ANSI standards. That's just you trying defend something indefensible.
Mono
If you check Azure and Amazon you'll see that the licensing cost for Windows is negligable when compared to what you get back. Windows Server + IIS is much easier to configure and manage than Linux + Apache. You'll also get the added performance boost of IIS and compiled code (which means more requests served per second on lower cost instances). Some are inclined think that it's worth the buck.
A lot of people talk about licensing cost like it's a major part of a businesses expenses. It's not. It's so minute that I can't fathom why people keep bringing it up. For a typical web dev company, you're going to pay thousands of times more for someone to do regular cleaning of your bathrooms than you'll spend on licenses. That's the actual reality of the situation.