DEV Community

Discussion on: The fascinating phenomena of PHP trashing????

Collapse
 
matthewbdaly profile image
Matthew Daly

PHP nowadays is a pretty decent language. However, that wasn't always the case, and unfortunately some of us are stuck with legacy codebases from that era. Composer and PSR standards, as well as the newer generation of frameworks, have made a big difference, but there's still a lot of crap out there in production.

Collapse
 
jamonjamon profile image
Jaimie Carter

Ah, I see. That's starting to put it into context for me. My only experience is very limited and starts at PHP7.... And it's pretty good. Though I have no idea what I'm talking about

Collapse
 
matthewbdaly profile image
Matthew Daly

I maintain a Zend 1 legacy application with a long list of issues stemming from years of neglect, bad design decisions (such as the bright spark who said "Let's not use the built-in table gateway classes, we'll roll our own models for that"), and copy and paste coding. It's definitely taught me a lot about refactoring, but it does emphasise the fact that PHP was a lot worse in the past than it is now.

Thread Thread
 
jamonjamon profile image
Jaimie Carter

Ahhh. You've not seen a mess until you see my app (patch.team). Though to be fair to myself I knew pretty much zero about programming before building it (I used the whole 'if you're gonna learn something- build something' approach). Talk about a monolithic spaghetti mess!! Was fun though.