hey! bad programmers!
Listen up. Yea you. Please stop writing code that intermixes presentation with data. Please, please don't create a class that abstracts out the model and then rely on POST superglobals! Damn! What was the point of writing that class anyways? Coupling is bad. Now I can't reuse this >:/ .
Yea, I'm on a project that looks like it was written in the late 90's. Only...it wasn't. Written in PHP with intermixed presentation and data handling all over the place. Tracing through it is necessary to find out wha…more