|
|
|
|
|
by rezonant
848 days ago
|
|
> Sadly no amount of frameworks or templating engines can stop a bad programmer from writing bad code, 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. |
|
Also I don't see how using a loop or conditional in PHP is any different from using one in a templating engine, aside from the overhead of the engine and added annoyance of debugging another language in your project.