I'd also like to add that I like the 'hands-off' approach that PHP has taken in the past. I'm not a fan of some of the PSRs. I literally had someone tell me a few months ago that I would never be a 'real programmer' because I used tabs instead of spaces which is against the PSR-12 spec (which is my only deviation from the spec, and why is that even in the spec in the first place? :sigh:). Luckily for me, I guess, I think I'm 'real programmer' ... even though it still feels like a hobby (even 20 years later), but people pay me a bunch of money to do it and people seem to like my work.
IMHO, the downside of PHP enshrining things like PSRs is that it discourages people from 'breaking the rules', which is where true innovation comes from (IMHO). Symfony wouldn't be as fast without goto, Laravel without it's facade thing, and WordPress without its hooks. If you look at other languages like Python, Go, C#, etc, that have come up with The-One-True-Way, you'll pick up codebases and it just looks like any other codebase. It takes all the fun out it. Nobody wants to live in a house that looks like every other house. Organizations should be able to talk about variable alignment over a coffee if it drives them nuts, and not get shot down because of some spec a committee wrote ten years ago. My 2 cents... fwiw. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php