@smxi My main beef with PHP is not the language, it's creators or what it can or can't do.
It's that most of the PHP codebases I've seen are a mess to work with. So, better developers? Maybe... Doesn't change that PHP4+ codebases in a PHP7 world are simply put, outdated.
@andrioid it is fairly trivial to update from PHP 4 to 7. In fact, I would challenge you to find any language that does a better job maintaining language feature support major version to major version, with as noted the exception of Perl 5. You get at least 2 years deprecation warners, often much, much, more, when features are going to get dropped, and the updates are often trivial.
@andrioid PHP 4 was released in 2000, 5 in 2004. So you are talking in the case of 4, 18 years ago. That code had no business remaining in production frankly, since EOL also ends support. Well written PHP 5 takes very little time to update to PHP 7, it's very few items that need changing. You seem to be confusing badly written code with the language itself. Bad developers write bad code. Most of the hip languages like python can't even retain language features between minor versions, forget major versions
@andrioid I do not enjoy language updates breaking my code, and making my clients pay me to fix it, I am aware of no language better than PHP in this regard, except Perl 5. Both languages treat their userbase, developers, with extreme respect,m and give you years of warnings if a feature must be removed. Compare python 2.7 to 3.0 vs PHP 5.6 to 7.0 for instance, I had ot do exactly zero updates on my up to date 5.x code for it to run on 7.x, and only a few updates on some older 5.3 era PHP.
@andrioid re bad developers, in a world filled with garbage script kiddie react, angular js junk, bloated css frameworks that take 100x more code to execute what anyone competent can code by hand, you're talking about a different problem, that has nothing to do with PHP, that's just web dev incompetence, same problem from 1995 to today, flash websites, junk frameworks, same issue, people too lazy or greedy to learn the craft, and getting away with it. CSS, PHP, HTML, all lovely creations when used correctly
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!
We adhere to an adapted version of the TootCat Code of Conduct and follow the Toot Café list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators.
Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!