4 ms·
You can quote yourself ad nauseam but that does not turn your incorrect statement into a correct statement. If you spent any amount of time looking at a modern
by phphphphp 4y ago
You can quote yourself ad nauseam but that does not turn your incorrect statement into a correct statement. If you spent any amount of time looking at a modern PHP codebase, you'd discover that the type of code people write today is radically different to the type of code you'd have seen at the time A Fractal of Bad Design was written. There are still aspects of modern PHP that stand to be improved, absolutely, but that's true of all languages.
- awestroke 4y agoYour argument is basically: "Yes, yes, the footguns are still there front and center, but we added more guns that don't shoot you on the foot." If I was using PHP, I'd be livid that the cruft is never removed. Just deprecate and remove it
- pocketsand 4y agoA lot of stuff is deprecated and not removed. Can you give an example of the footguns you so fear?
- phphphphp 4y agoNo, my argument is that most of the footguns described in A Fractal of Bad Design have been long since fixed and those that remain are being removed as and when it's feasible and the PHP community has matured a great deal to the point where the remaining footguns don't really apply in modern codebases because of libraries, static analysis and testing. Spend any amount of time actually using PHP and you'd discover that it is meaningfully different to what it once was. It's far from perfect, and still has a long way to go, but if you reflect on where it was and what had to change to get where it is today, the improvement and progress has been excellent.
- berkle4455 4y agohttp://maettig.com/2020-09-16-revisiting-a-fractal-of-bad-design http://maettig.com/2020-09-16-revisiting-a-fractal-of-bad-de... Nearly every point in the original blog shown to be solved here.