Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
Marl3x29133yThis is the stuff I hate the most about programming. Undocumented code. Undocumented libraries.
It drives me mad.
Reading code is a skill. Welcome to the fire.
nanobot14293y@Redd I started of as an undergraduate as well, maintaining legacy Python2 code with dirty hacks, fucked up classes, zero meaningful comments, zero threading/multitasking, even syntax errors and plain simple wrong logic.
1year 3months and a major unauthorised rewrite later, half of it is smooth like butter. But I still find some jewels like this. They appreciated me when they came to know about the refactoring anyway. I basically refactored and documented each module/class/job which had any bug/feature implementation assigned to me.
Gets better with time.
If it makes you feel any better I think anyone would struggle being alone on a 10 year old codebase, even a good one.
Sounds like one I had to deal with for a while. Had a mix of codeigniter, zend, angularjs (1.x), two extra node servers (because some people didn't want to deal with the mess that was the PHP side anymore, so started porting stuff, never finished).
An API endpoint could be in one of 3 repos, you had to search stuff you saw printing out or getting returned, to find where.
PHP side used raw SQL, then there was a node app that used raw SQL, and then another node app that used ORM (sequelize).
These would call each other in completely undocumented and unpredictable ways.
On many pages, half of the database was pulled straight into the browser so that there's no need for complicated endpoints to fetch the required data.
Summary: If you can't move to another project, don't bother for too long...
I'm so sick of having to maintain a 10 year old back-end codebase that is built on a proprietary php framework that isn't documented at all. I am still a student, and I'm left mostly alone to figure things out. It's been a while since I started, but it sucks all the energy out of me to figure out how things are built...
My senior is too busy with other projects so when I ask a question I only get answers hours later, and we work remote. He is so busy that he has to consistently work overtime.
I am so overwhelmed...