Earlier quoted context omitted.
In the sense that McDonald's is a big success for American cuisine, sure.
That's a decent analogy, since McDonald's is a huge success and a model of efficiency in business.
PHP is much better than what you think
331–340 of 346 posts
Re: PHP is much better than what you think
#332Earlier quoted context omitted.
> If A is equal to B in one respect, and far worse in dozens of other respects, pointing out the one way it is equal doesn't make an argument that A is good. I didn't state it was better then any other language. I simply made a case that it is a good language.
Did you read the words you quoted? You did not make a case that it is a good language, that is exactly what I said. PHP is not a good language because "it is equal to other languages in one respect, and vastly worse in a dozen other ways". That is the argument you put forth, but it most certainly does not make the case that PHP is a good language.
No it isn't. I never compared it to any other language commonly used for web development. I never even hinted at that being my argument.
Re: PHP is much better than what you think
#333Earlier quoted context omitted.
Have you used it at all? I'm not going to pretend it's better than Bundler, we took a lot of inspiration from it and we may have a few unique features compared to it, but that's it. apt is pretty different anyway since it does system level stuff. Maven I think is insane, it does way more than a package manager should do. That said when you look at Python for example, the package management landscape is a scattered me…
Maven is actually pretty sweet and good. I know people have their own "perspective" when it comes to Maven: some said it's too big, too complicated, yadda-yadda. Some said it's the best tool out there. The thing here is that you don't need to know Maven that much to use it. Especially if you were to use it with IDEs. People typically use IDE to generate the absolute minimum Maven pom.xml file initially when they set…
Generally these are people that haven't tried anything better.
BTW, as someone who uses Composer and Bundler almost daily now (npm occasionally), I must say, Composer is right up there and it does offer some unique features that neither of the other two have.
Let me say this. Composer is probably one of the best things to happen to PHP in a LONG time.
I'm not saying I prefer PHP over Ruby, but given I am frequently tasked with providing PHP solutions, Composer is the way to go.
Re: PHP is much better than what you think
#334Does PHP have a function to generate a new URL that is the current URL with one of the GET parameters changed yet? After working with PHP for years, I've taken a look at rails and a few python frameworks, and looking back to PHP it makes me sad that I have to keep using a "web oriented language" that doesn't come with basic web features :-(
Re: PHP is much better than what you think
#335If people who bash about PHP , had used symfony2 framework, they would have changed their mind to some extent..
Re: PHP is much better than what you think
#336I'd stay away from a language that has function names like array_keys or allows you to write array("a" => "green", "red", "blue");
What's wrong with array_keys? It's extremely useful. Java has keySet(), Ruby has hash.keys, etc. Your second argument is even dumber. Yes, PHP lets you do lots of things, which improve the speed of development. If you don't like it, don't write it that way.
I don't think he was arguing about the utility. I think he meant that: array_keys($aHash); is less desirable than: aHash.keys. Also, if you you really look at the PHP example, the semantics really suck.
Re: PHP is much better than what you think
#337Earlier quoted context omitted.
Did you read the words you quoted? You did not make a case that it is a good language, that is exactly what I said. PHP is not a good language because "it is equal to other languages in one respect, and vastly worse in a dozen other ways". That is the argument you put forth, but it most certainly does not make the case that PHP is a good language.
>PHP is not a good language because "it is equal to other languages in one respect, and vastly worse in a dozen other ways". That is the argument you put forth No it isn't. I never compared it to any other language commonly used for web development. I never even hinted at that being my argument.
Re: PHP is much better than what you think
#338Earlier quoted context omitted.
A number of these critical articles point out problems from 5 years ago... which are also still problems today. I would have more sympathy if it were clearly evident that serious bugs were taken seriously rather than being ignored for a decade
Do you have an example of one of these serious bugs?
You can't be satisfied
Re: PHP is much better than what you think
#339Earlier quoted context omitted.
No serious PHP developer actually go to php.net to read the documentation, literally all of the big PHP editors/IDEs come with an embedded manual so when you write strpos( it automatically tells you the order of variables. If I really had to go to php.net to look up order of variables or even a function name then I wouldn't be programming in PHP at all, would take too long. Thankfully, since I'm not restricted to not…
You're basically saying that no serious PHP developers are using, say, VIM or Sublime Text, which is not true. I still hit php.net from time to time.
Re: PHP is much better than what you think
#340> PHP must have done something right, no? Shitloads of people also believe in organised religion or naturopathy, doesn't mean that's a good thing. > PHP is the best web platform... ever. So because it's nearly caught up with other languages and you can install stuff easily if you have the prerequisite of knowing about composer? Bullshit. I'm sure composer is great, but if your main argument is that PHP requires zero…
Honest question: Do you have more than a months professional experience writing modern PHP? While I love appreciate the Java ecosystem with amazing stuff like Play framework, Scala, Camel (several apache sub projects actually), Python micro frameworks etc there still is something magic about PHP. I still haven't made up my mind but there is something about really fast turnaround time, transparency, and shared nothing…
Of course you can write decent PHP, but I've since switched to Python (which I really enjoy, but I'm not biased toward it, I can equally imagine people writing decent Ruby or whatever), but I'd never look back. It's an enabler of people who care little, not for the love of code, or the technical beauty of things, but an enabler of people who don't give a blind fuck about whoever is the next person to inherit their code. No, this is not necessarily a language flaw (because there are many of those, I don't have to elaborate), but what's lauded as the brilliance of PHP, especially lately, is an attitude that fucks people down the line. Look at osCommerce FFS.
I mean, perhaps now osCommerce is a decent product, but it wasn't in 2003, it was a godawful mess, and this is relevant now because there a bunch of hapless fucks that are tasked with maintaining a clusterfuck of hacks based on a version of software X that was made many years back because very little of the people who are developing in PHP give a blind fuck about the next dev to come along.
What's the point of talking about the latest generation of PHP nearly-catching-up-to-decent-interpreted-languages when the entire culture is based around godawful hackery, misuse, half-arsed ports of 4.3 codebases and developer laziness and insecure anti-patterns and other shit buzzwords I can't be fucked to mention but most likely apply to the majority of PHP code out there?
PHP. Never. Again.
Also Wordpress.