feeling overwhelmed today, how do you tend to deal with your days you feel burned out.
Somedays, you wake up and you just feel it. Today is that day for me. I woke up to an email from a client, requesting some changes to her online application form. This thing is pretty large. The changes, not that big of a deal.
I just started thinking of how annoying it's going to be to change this stuff. I mean I wrote it in symphony 3 forms, so it's done proper. It's just that now I have to change the entity model, the twig templates, migrate the database changes.... uggg!!
I love object oriented software, but sometimes I just hate it. Sometimes, I just want to go back to the old days of 1 liner changes, where it would write to flat files. As simple as a 2 minute change to add/remove features.
Sure it was easy to break, but it was also easy to fix!
The problem isn't OOP. The problem is, that I then started to think about how I could refactor the entire form to be React/API and make the api store json docs, so they could be modified without a huge headache. Using the json-schema on the front end for the fields.
But how much work would that be?! And what if they never change a thing on the form again? How much time would I have wasted for no benefit.
Would I use PHP or node for the backend? Convert the Mysql to postgres or elasticsearch (nope, that is super over kill).
Next thing I know, I'm annoyed, and I feel like I know to many things on "how it should be", but there is never enough time in the day. And anytime you're certain, you built it the best way possible, 6 months down the road, you are annoyed with yourself for not doing it X, Y, Z...
Also part of me feels like the "you have to do it this way, because everyone is in agreement" is bullshit. That is because the other part of me is "everyone over complicated things. Sometime, simple is better". An internal war. If the software end results are the exact same, and fully tested, is one really better than that other? Well how easy is it to maintain? :/
So today, I just feel the burn, and it's not fun. Luckily I know these only last a few hours or a day at max. I code literally everyday. I just have to let the annoyance pass.
So whats your story and how do you deal with it?
There is an ongoing discussion about the difference between object-oriented programming (OOP) and functional programming (FP). Let's talk about similarities instead. Let's talk about the main building blocks: functions and objects.