3 ms·
The levels in this article kept moving towards higher and higher levels of complexity (writing your own DSL), while in my experience, getting better at my job h
by jbooth 15y ago
The levels in this article kept moving towards higher and higher levels of complexity (writing your own DSL), while in my experience, getting better at my job has resulted in writing code that's less and less complex.
I used to refactor things into inheriting models with overridable behavior, etc if it could save me from repeating myself. Now I just copy/paste code when it's appropriate, and it's way easier to maintain. Key word is appropriate.
- analyst74 15y agoI totally agree. In most programming projects, the most important thing is maintainability, and that is relative to the skill of the maintainer. If the maintainer is going to be junior developer, then writing complex OO design is not good, even if it makes the program more concise; if the maintainer is a business developer who is not good in math, then crafting non-trivial algorithms will throw him off, even if it means shorter program; if the maintainer is smart and willing to learn, then you can do whatever.