Two way binding

April 18, 2019

Ultimately code always has to be reusable.

Coding is my dayjob, but it is also my hobby. Sometimes i write a snippet of code for a hobby project that will later be copied in a project at work. Sometimes it is the other way around.

Recently i was working on a piece of code at work and suddenly i realized: i was making it extra good, so i could later reuse that snippet to build a completely different feature in a hobby project.

So i thought: let's always write code as if i will reuse it myself. This will help me stay focused and motivated. As a bonus the code can be reused anywhere.

Comments

No comments yet. Be the first.

New comment