I love other devs shitting on PHP in my area. The more PHP work they forgo, the better for me. Less guys doing it, always in demand. Making good bank and am quite good at using it.
I still love PHP and JavaScript
201–210 of 402 posts
Re: I still love PHP and JavaScript
#202I kinda like js but hate php with passion. Having said that php has one really very big thing going for it - people who use it are simply addicted to getting things done.
does that mean every other language the people don't get anything done?
Re: I still love PHP and JavaScript
#203Earlier quoted context omitted.
I often get called in to fix things which are horribly broken.
That's a funny way of spelling job security
Re: I still love PHP and JavaScript
#204Anyone have a suggestion on a good resource for making my first PHP backend?
Search results have felt a little messy / all over the place in the past...
Re: I still love PHP and JavaScript
#205Earlier quoted context omitted.
Python covers many of the same use cases and is much more consistent/predictable. TCL if you want to go back a bit further.
With Python one never knows when a particular feature code depends on will be removed. With PHP code written 15 years ago still works.
If you never upgrade, sure. PHP 7 and each minor version in it have deprecated and removed plenty of stuff that was legal in 5.6. PHP 8 is on track to do more of the same. I think the backwards incompatible changes are pretty much all good for the language, but claiming backwards compatibility in PHP is completely wrong.
If you aren't on PHP 8, you aren't supported, and if you're on anything earlier than 7.4, you aren't getting security releases. And the new versions released yearly all have breaking changes, and get three years of security support. It's not 2015 anymore.
Re: I still love PHP and JavaScript
#206PHP has so many hidden benefits: - it's stateless by design (much easier to scale) - it was "serverless" before Serverless - surprisingly performant - no "unknown unknowns". it's so tried-and-true, there's no surprises - deployment is so simple, just drop a file on a web server. No middleware needed. - No long compile times because there is no compiling needed. EDIT: why the downvotes? If you don't agree, just reply…
Re: I still love PHP and JavaScript
#207Earlier quoted context omitted.
"No reason", at all? Have you seen how much standardized legwork is done with a backend framework like Rails and Django? How much easier that is to work with other developers because everyone is following known conventions? With Django, there's also the huge benefit of millions of data libraries an import away. When I search for client libraries to do something, anything under the sun has a Python client. Much much l…
> Have you seen how much standardized legwork is done with a backend framework like Rails and Django? How much easier that is to work with other developers because everyone is following known conventions? How is Django different from, say, ASP.Net Core in that respect?
Re: I still love PHP and JavaScript
#208Earlier quoted context omitted.
> - no "unknown unknowns". it's so tried-and-true, there's no surprises This part is laughable. People who have been programming PHP for 20 years (several of them at my company) still routinely discover hidden bugs, quirks or general behavior that is totally unintuitive and nowhere found in the documentation.
But genuine question -- what other languages are as simultaneously as useful AND predictable?
Re: I still love PHP and JavaScript
#209> I love legacy codebases. > A legacy codebase means that the product is performing well. It means that I can often make immediate and impactful improvements. Wow. This person must have worked on very different legacy codebases than me. Legacy Javascript code, to me, is something that I do not want to touch with a 10 foot pole, because every little piece of it can be intertwined with and used by many other hidden pla…
Everything you say is well and good, but the businesses with the legacy codebase (PHP or Javascript) are still trying to pay someone to work on their systems, and quite frankly, their money is the same shade of green.
Re: I still love PHP and JavaScript
#210> I love legacy codebases. > A legacy codebase means that the product is performing well. It means that I can often make immediate and impactful improvements. Wow. This person must have worked on very different legacy codebases than me. Legacy Javascript code, to me, is something that I do not want to touch with a 10 foot pole, because every little piece of it can be intertwined with and used by many other hidden pla…
> never found a legacy JS codebase that has a robust test suite, so any refactoring I do can be hard to test and verify. Wouldn't you just... make a test suite?
Not sure if sarcasm or serious.