by aprdm · 6y ago · 0 comments
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.
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.