Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
asgs788338dMaybe he hated using ORMs
IntrusionCM180037d@CrunchyNut yeah... That's most likely shit.
Maybe take a look at GIT History... Highly guess everything was public before (or even worse: __set/__get).
SQL part... Searches can be very tricky. Depending on what it does, it might not be doable in an ORM or with a high performance penalty. Depends largely on the ORM.
And yes.... The legacy shit sucks.
If you'll rework it, maybe think about DTOs and seperation of the SQL part from data validation / preperation...
But still, classes like that are mostly looking like someone puked after an all u can eat international buffet