Given the choice between one piece of cake right now or a whole cake one month from now, we would probably choose the first. This psychological bias is known as “Time Preference” or “Delay Discount.”
We’ve all seen this fine example of kids trying to hold on by not eating a marshmallow, in hope of a greater reward:

When writing code we often face the same problem, having to choose between the short-term advantages of bad practice and the long-term costs it generates

Categories
Internet of Things