878 Lines of Code in one method Month

Bryan Siegel
July 31, 2019

I’m working on my career nightmare application. It’s MVC but all the routes are in the controllers and the controllers has logic that calls on other routes or partials with zero comments to help guide you. It’s running PHP 5.3.something. This project makes me feel stupid. It takes hours to understand what something is doing. To fix one thing spread across multiple different parts of the application I had to understand 878 lines of code. There is no way in hell I can keep that in my head.

So what I did was a ton of searching combined with commenting the parts I needed to fix this issue. But guess what? I’m not done fixing this (about 90% there) application because now I have to fix a costly sql query that bogs down the system by creating a script that fires mysql queries at night.

This is truly my nightmare application. That one application that taught you about what projects not to take on in your career. Also, while I’ve had messed up PHP applications in the day this one gives PHP a bad name.

K

Rant Over

Back To Work

Tags

php

Would you like to hire me?

Side projects, Employment Opportunities, you want to give me a [big bag] of money.

Contact