Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PSR isn't generally accepted. It's a bunch of nobody know-it-alls that decided everyone needs to write java in PHP.

No thank you.



You're just wrong. PSRs are widely accepted and all serious frameworks and PHP libraries implement them as needed. I haven't seen a PHP package in quite a long time that didn't implement PSR-4.


Except the largest framework doesn't. And the majority of libraries don't.


What statistics source are you using to determine the 'largest framework' here?

Even if we go back to the 2021 Jetbrains developer survey (https://www.jetbrains.com/lp/devecosystem-2021/php/) out of the 11 named frameworks/platforms people are using all but 2 of them use PSR and composer.

You keep making these assertations which frankly are coming across as absolute bollocks from someone who's stuck in the early 2000s.


If you actually think that you dont know the language very well. It's baked into Composer, all the major frameworks fully use it as to almost every major opensource project that isn't prevented from doing so by legacy code.

And honestly if you're a PHP dev intentionally avoiding the widely adopted standards and know someone else is going to have to maintain your code then shame on you.


Composer is trash, semver sucks and I'd tell PSR to go jump but it'd get stuck in a class file somewhere.


You must be a joy to work with. I feel sorry for the rest of your team, having to deal with that kind of view on everything.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: