SlideShare a Scribd company logo
Time preference, quality,
dopamine, and
marshmallows
Lunch and Learn, June 2017
Dopamine
You know about dopamine already.
All the fun stuff.
Dopamine (or the anticipation of) makes you more
likely to make a snap decision.
Source: Salk’s Molecular Neurobiology Laboratory, San Diego, 2017. Publisher: Neuron.
Time Preference
We value short-term reward over long-term
reward.
The longer the gap between rewards, the worse
the effect.
We prioritise dopamine release above all else
when we’re using our unconscious mind.
As time passes, we suffer less from these
manipulations.
(This leads to “wise elders”. Or better pattern
matching. But that is another talk.)
The instincts still remain —
but awareness is a powerful antidote.
How does this affect the craft of writing code?
Testing.
Modularity and reuse.
Documentation.
Testing
Tests give confidence, accomplishment, and they
save time.
(this is all about time preference, remember?)
Tests can feel like an interruption.
This is a perfect example of the struggle against
the time preference effect.
We need to reframe the situation. Where is the
short term reward?
Tests help us decide when it’s good enough.
Tests let you move on to the next problem.
Tests let you turn the light green.
Tests are your way of helping the next guy.
Reusability
Reusability and modularity leads to better
software, which is quicker to build.
(eg. generic implementations, function extraction)
It requires additional effort and thinking at the point
of creation to get this right.
That seems like a long-term reward.
Build pull requests around modules.
Receive feedback and social validation.
You will become a better developer.
Open your code.
$ touch README.md
$ curl -d'{ "copyright": “FARM Digital" }’ 
https://farm.mit-license.org > LICENSE
Permanent accomplishment is actually a short term
reward.
Documentation
Comments
README
Diagrams
It’s just explanation for the next person.
Future us or future others aren’t always a priority.
Your mental state is in the problem, not the
documentation.
Create clear rules.
This allows us to find little bursts of success…
… and lowers the mental effort to get started.
Good documentation helps modularity.
And tests are documentation.
Summary
These are only suggestions.
It’s up to you to balance immediate satisfaction
and long-term value.
“I can resist everything except temptation.”
Oscar Wilde

More Related Content

Similar to Time Preference, Quality, Dopamine and Marshmallows

Get things done : pragmatic project management
Get things done : pragmatic project managementGet things done : pragmatic project management
Get things done : pragmatic project management
Stan Carrico
 
Becoming a software testing expert
Becoming a software testing expertBecoming a software testing expert
Becoming a software testing expert
moosix
 
Nerd herding ntc11nerd - Howe
Nerd herding ntc11nerd - HoweNerd herding ntc11nerd - Howe
Nerd herding ntc11nerd - Howe
Grant M Howe
 
2016 letter to Amazon shareholders
2016 letter to Amazon shareholders2016 letter to Amazon shareholders
2016 letter to Amazon shareholders
Matt Oh
 
Jeff Bezos' 2016 Letter to Amazon Shareholders
Jeff Bezos' 2016 Letter to Amazon ShareholdersJeff Bezos' 2016 Letter to Amazon Shareholders
Jeff Bezos' 2016 Letter to Amazon Shareholders
Razin Mustafiz
 
Amazon Jeff Bezos 2016 letter to shareholders
Amazon Jeff Bezos 2016 letter to shareholdersAmazon Jeff Bezos 2016 letter to shareholders
Amazon Jeff Bezos 2016 letter to shareholders
Laurie Ruettimann
 
EXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docx
EXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docxEXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docx
EXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docx
ssuser454af01
 
PopcornFlow: Continuous Evolution Through Ultra-Rapid Experimentation
PopcornFlow: Continuous Evolution Through Ultra-Rapid ExperimentationPopcornFlow: Continuous Evolution Through Ultra-Rapid Experimentation
PopcornFlow: Continuous Evolution Through Ultra-Rapid Experimentation
Claudio Perrone
 
Too Many Conditions!
Too Many Conditions!Too Many Conditions!
Too Many Conditions!
STAG Software Private Limited
 
Decision making in software project management
Decision making in software project managementDecision making in software project management
Decision making in software project management
Priyadarshini Krishnaswamy
 
Making Good Design Decisions
Making Good Design DecisionsMaking Good Design Decisions
Making Good Design Decisions
Dan Saffer
 
ATD2K16
ATD2K16ATD2K16
ATD2K16
Brian Osman
 
Problem solving technique , strategies
Problem solving technique , strategiesProblem solving technique , strategies
Problem solving technique , strategies
Hussein Kareem
 
A3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup GandhiA3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup Gandhi
Yogesh Vaghani
 
Decision Making Essays
Decision Making EssaysDecision Making Essays
Decision Making Essays
Paper Writer Service
 
Chapter 5 (1).pptx
Chapter 5 (1).pptxChapter 5 (1).pptx
Chapter 5 (1).pptx
SaminaNawaz14
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
SaminaNawaz14
 
Using Problem Solving Skills To Get A Job
Using Problem Solving Skills To Get A JobUsing Problem Solving Skills To Get A Job
Using Problem Solving Skills To Get A Job
Gary Clement
 
Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1
Lanette Creamer
 
Super Strategy in Decision Making
Super Strategy in Decision MakingSuper Strategy in Decision Making
Super Strategy in Decision Making
Maxwell Ranasinghe
 

Similar to Time Preference, Quality, Dopamine and Marshmallows (20)

Get things done : pragmatic project management
Get things done : pragmatic project managementGet things done : pragmatic project management
Get things done : pragmatic project management
 
Becoming a software testing expert
Becoming a software testing expertBecoming a software testing expert
Becoming a software testing expert
 
Nerd herding ntc11nerd - Howe
Nerd herding ntc11nerd - HoweNerd herding ntc11nerd - Howe
Nerd herding ntc11nerd - Howe
 
2016 letter to Amazon shareholders
2016 letter to Amazon shareholders2016 letter to Amazon shareholders
2016 letter to Amazon shareholders
 
Jeff Bezos' 2016 Letter to Amazon Shareholders
Jeff Bezos' 2016 Letter to Amazon ShareholdersJeff Bezos' 2016 Letter to Amazon Shareholders
Jeff Bezos' 2016 Letter to Amazon Shareholders
 
Amazon Jeff Bezos 2016 letter to shareholders
Amazon Jeff Bezos 2016 letter to shareholdersAmazon Jeff Bezos 2016 letter to shareholders
Amazon Jeff Bezos 2016 letter to shareholders
 
EXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docx
EXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docxEXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docx
EXTRA CREDITWe just finished watching 12 Angry Men, a movie which .docx
 
PopcornFlow: Continuous Evolution Through Ultra-Rapid Experimentation
PopcornFlow: Continuous Evolution Through Ultra-Rapid ExperimentationPopcornFlow: Continuous Evolution Through Ultra-Rapid Experimentation
PopcornFlow: Continuous Evolution Through Ultra-Rapid Experimentation
 
Too Many Conditions!
Too Many Conditions!Too Many Conditions!
Too Many Conditions!
 
Decision making in software project management
Decision making in software project managementDecision making in software project management
Decision making in software project management
 
Making Good Design Decisions
Making Good Design DecisionsMaking Good Design Decisions
Making Good Design Decisions
 
ATD2K16
ATD2K16ATD2K16
ATD2K16
 
Problem solving technique , strategies
Problem solving technique , strategiesProblem solving technique , strategies
Problem solving technique , strategies
 
A3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup GandhiA3 problem solving technique by Mr. Anup Gandhi
A3 problem solving technique by Mr. Anup Gandhi
 
Decision Making Essays
Decision Making EssaysDecision Making Essays
Decision Making Essays
 
Chapter 5 (1).pptx
Chapter 5 (1).pptxChapter 5 (1).pptx
Chapter 5 (1).pptx
 
Chapter 5.pptx
Chapter 5.pptxChapter 5.pptx
Chapter 5.pptx
 
Using Problem Solving Skills To Get A Job
Using Problem Solving Skills To Get A JobUsing Problem Solving Skills To Get A Job
Using Problem Solving Skills To Get A Job
 
Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1Reducing Test Case Bloat2 1
Reducing Test Case Bloat2 1
 
Super Strategy in Decision Making
Super Strategy in Decision MakingSuper Strategy in Decision Making
Super Strategy in Decision Making
 

Recently uploaded

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
nooriasukmaningtyas
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
PauloRodrigues104553
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 

Recently uploaded (20)

spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
Low power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniquesLow power architecture of logic gates using adiabatic techniques
Low power architecture of logic gates using adiabatic techniques
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Series of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.pptSeries of visio cisco devices Cisco_Icons.ppt
Series of visio cisco devices Cisco_Icons.ppt
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 

Time Preference, Quality, Dopamine and Marshmallows

Editor's Notes

  1. Some ideas about psychology and work.
  2. Love, reward, addiction, power.
  3. Subtle gamification. People invent and interact with gamified systems, but rarely invent their own.
  4. Key point is *anticipation*. We all know how powerful this effect is. Why you go for a beer after work and not a run.
  5. The Time Preference Effect. An excuse to show this video.
  6. Unconscious is the key point.
  7. The instincts are hard-wired and can’t be unlearned.
  8. Cover three topics of the ‘craft’. Not really the problem solving, that’s too personal, but the externalities of your problem solving.
  9. Tests are universally a good thing. Sidebar: We are slipping in this area.
  10. The symbol of a job well done.
  11. A fresh start, a new problem, meaningful progress.
  12. Red/green is a powerful too in gamification. Did you noticed Github’s contribution chart uses green blocks and not red? The only green thing on Github.
  13. We’re wired for community-building and social cohesion. You just accrued some karma.
  14. So again, it’s time to reframe this as a short-term gain…
  15. Modules, not necessarily tickets, or time-boxes.
  16. The next step is to publish where you can. We have flirted with this in the past, we want to get back there again.
  17. This may seem like a long-term payoff — and it is — but the feeling of something sliding into place is real accomplishment. Modules which are well thought out stand the test of time. Some of the most rewarding work is on things like project-base.
  18. Documentation carries baggage. Really it’s just a conversation. When searching for short-term rewars, future us and future others often aren’t in your frame of mind.
  19. Documentation is something which can be easily systemised. It’s a single-solve problem.
  20. Close the circle.
  21. Breaking down tasks into small wins isn’t a new concept. But it does work. And sometimes we face challenges at a scale where the finish line seems a long way down the track.