2 ms·
Be smart, write DRY code, but leave room for hooks to implement special cases. Make code readable, maintainable, and extensible. Write for maintainability and
by koliber 8y ago
Be smart, write DRY code, but leave room for hooks to implement special cases. Make code readable, maintainable, and extensible.
Write for maintainability and extensibility. I know you can solve the given problem better, with more succinct syntax and clever shortcuts. Please don't though. The code you write today is here to stay. Plan for the war, and don't overoptimize the individual battles.