|
|
|
|
|
by FriedrichN
848 days ago
|
|
1. I've seen enough terrible things in my time, but you can make a mess in any language using any number of frameworks. And it's been a hot minute since I've seen one of those 1000+ line PHP+SQL+HTML+JS+CSS monstrosities in any serious environment. Improper use of templating engines or trying to use templating engines that aren't up to the task can give you headaches just as well. Sadly no amount of frameworks or templating engines can stop a bad programmer from writing bad code, in the end we're craftsmen who need to learn how to use our tools. 2. This could be a valid use case, but a rather rare one. XML+XSLT is something that sounds fantastic on paper, but as anyone who actually worked with it knows it ranges from a big disappointment to an absolute nightmare. |
|
It's not a matter of whether the code is bad or not, but how bad.
The entire point of frameworks is to add guard rails to help you stay disciplined and avoid cutting corners on separation of concerns.
Using PHP as a template language tempts developers to violate SOC every day.