Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cognitive Psychology and the Zen of Code
Search
Jay Zeschin
September 12, 2011
Programming
1
170
Cognitive Psychology and the Zen of Code
Cognitive Psychology talk from Rocky Mountain Ruby 2011
Jay Zeschin
September 12, 2011
Tweet
Share
More Decks by Jay Zeschin
See All by Jay Zeschin
DSW 2017 - Michelle Baird & Katie Holden, "Breaking Down Product Management: Startups vs. Enterprise"
jayzes
0
43
DSW 2017: Saloni Doshi, "Build an Epic Brand and Business, Simply By Being Better"
jayzes
0
54
DSW 2017 - Brian Parks, "Getting Ready for Your Capital Raise"
jayzes
0
41
DSW 2017: Alexandra Fiorillo, "Behavioral Design and Social Impact"
jayzes
0
47
DSW 2017 - Nater Jorde, Code42, "Our Web Application Journey"
jayzes
0
69
DSW 2017: Travis Jacobs, "Time Is Money, Reducing Cost Through Virtual Prototyping"
jayzes
0
55
Denver Startup Week 2017 Presenter Training
jayzes
0
210
Other Decks in Programming
See All in Programming
開発生産性が組織文化になるまでの軌跡
tonegawa07
0
180
高単価案件で働くための心構え
nullnull
0
150
アーキテクチャと考える迷子にならない開発者テスト
irof
9
3.2k
AI駆動開発ライフサイクル(AI-DLC)のホワイトペーパーを解説
swxhariu5
0
1.2k
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
1.9k
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
180
r2-image-worker
yusukebe
1
170
AIを駆使して新しい技術を効率的に理解する方法
nogu66
1
650
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
160
全員アーキテクトで挑む、 巨大で高密度なドメインの紐解き方
agatan
5
6.7k
競馬で学ぶ機械学習の基本と実践 / Machine Learning with Horse Racing
shoheimitani
14
13k
Flutterアプリ運用の現場で役立った監視Tips 5選
ostk0069
1
490
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Scaling GitHub
holman
464
140k
Building Applications with DynamoDB
mza
96
6.8k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
How GitHub (no longer) Works
holman
315
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.1k
Transcript
None
COGNITIVE PSYCHOLOGY @JAYZES AND THE ZEN OF CODE ROCKY MOUNTAIN
RUBY // 09.01.2011
cogpsych _WHO AM I who am i?
cogpsych _WHO AM I
cogpsych _TOPICS “programs must be written for people to read,
and only incidentally for machines to execute.” - ABELSON and SUSSMAN (SICP)
cogpsych _TOPICS metacognition (or, how can we hack it?)
cogpsych _TOPICS DISCLAIMER
cogpsych _MEMORY memory
cogpsych _MEMORY encoding storage retrieval
cogpsych _MEMORY recognition >> retrieval
cogpsych _MEMORY working memory
cogpsych _MEMORY 7 +/- 2 items
cogpsych _MEMORY 1.5 seconds of pronunciation
cogpsych _MEMORY scanning is serial exhaustive
cogpsych _MEMORY 38 milliseconds per item
cogpsych _MEMORY long term memory
cogpsych _MEMORY
cogpsych _MEMORY decay and interference
cogpsych _MEMORY stories and pictures
cogpsych _COGNITION cognition
cogpsych _COGNITION
cogpsych _COGNITION
cogpsych _COGNITION attention and automation
cogpsych _COGNITION deep and shallow
cogpsych _COGNITION
cogpsych _COGNITION 4444 55555 22 3333
cogpsych _COGNITION categories and schemata
cogpsych _COGNITION heuristics
cogpsych _COGNITION pattern recognition
cogpsych _COGNITION that’s all cool, what does it have to
do with code?
cogpsych _EXAMPLES max out automated processing for readers
cogpsych _ATTENTION DIVISION WHILE READING CODE IMPORTANT SHIT STUPID SHIT
80% 20% BAD 20% 80% GOOD
cogpsych _EXAMPLES minimize surprises
cogpsych _EXAMPLES avoid brain stack over ow
cogpsych _EXAMPLES enable recognition
cogpsych _EXAMPLES tell a story
cogpsych _EXAMPLES class SomeComplicatedThing def start_process prepare_target do_magic store_results notify_people
end end class SomeComplicatedThing def start_process prepare_target do_magic store_results notify_people end end
cogpsych _EXAMPLES if and unless
cogpsych _CLOSING know your audience
cogpsych _CLOSING your brain is good with shortcuts. let it
take them.
thank you.
COGNITIVE PSYCHOLOGY @JAYZES AND THE ZEN OF CODE ROCKY MOUNTAIN
RUBY // 09.01.2011