Seriously, I should have researched and read up on this topic before plunging into StackOverflow, which would have saved me a lot of wtf-ness.
Here we go.
Seriously, I should have researched and read up on this topic before plunging into StackOverflow, which would have saved me a lot of wtf-ness.
Here we go.
A colleague of mine asked me yesterday: what’s the difference between good code and bad ones? I gave my answer without a blink: “Reusability.” The answer struck me. I didn’t realise that before I said it out loud.
One good way to improve reusability, is to consciously refine one’s code with an eye for patterns. Repetitions are worth summing up–it’s just pure fun.