4 ms·
Usually my first instinct is to hate it but then as I spend more time on it I start understanding it better, sometimes takes a couple of months :) I have inher
by aprdm 6y ago
Usually my first instinct is to hate it but then as I spend more time on it I start understanding it better, sometimes takes a couple of months :)
I have inherited a couple of 10 years+ codebases at my current place, I would say that usually the best ones have small functions that are well documented instead of crazy abstractions. They also were built without trying to be too clever.
They use the bare minimum of the language to get the job done and do one thing only and well.
Some other code bases are much harder to grasp .. usually abusing abstractions everywhere or using libraries / programming constructs that aren’t widespread.
One that I despise is a huge asynchronous Python application built years ago with twisted.. nothing feels pythonic and it’s so hard to follow the flow of the program.
- natalyarostova 6y agoMy first instinct is to hate it. My second is to respect it and doubt my first instinct.
- sherlockx 6y agoI am in the same boat with old code bases. I find younger developers that haven't maintained code for 10+ years seem to not appreciate simple code. Colleague of mine once said it nicely: I started writing simple code, then I gained experience and started writing sexy complex code, then I gained more experience and now I write simple code again.