4 ms·
"it was horrible. Procedural, PHP inline with HTML, calls directly to mysql library functions" There is NOTHING wrong with any of that! Making something more c
by ars 18y ago
"it was horrible. Procedural, PHP inline with HTML, calls directly to mysql library functions"
There is NOTHING wrong with any of that! Making something more complicated does not make it better.
PS: I use a very strong templating library personally. It's called PHP.
- richtaur 18y ago> Making something more complicated does not make it better. I think the confusion here is that strong OOP is actually simpler. Breaking code into smaller chunks (such as objects) makes it more modular and easier to understand. That's the point.
- reid 18y agoGood point. I was trying to convey that, taken all together, the code was an unmaintainable mess of spaghetti. It was difficult to read and it was difficult to change. When done right, all of those things have a place. My point is usually (with PHP at least) it's not done right.