DEV Community

Cover image for When Writing Code Meets The Marshmallow Test

When Writing Code Meets The Marshmallow Test

JoniSar on May 29, 2017

One of my favorite videos around the web is this video of kids trying to resist eating a marshmallow after being promised a greater reward if the...
Collapse
 
antero_nu profile image
Antero Karki

Interesting perspective. I haven't thought about this in these terms, and I think this may partially answer the question why doesn't everyone write tests?

May also answer why there is resistance to this kind of change, because before it gets to the point where the benefits are clearly visible, someone may say "this is good enough" and go off in a different direction. Adopting these practices may require a leap of faith in that sense.