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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
45
DSW 2017: Saloni Doshi, "Build an Epic Brand and Business, Simply By Being Better"
jayzes
0
55
DSW 2017 - Brian Parks, "Getting Ready for Your Capital Raise"
jayzes
0
43
DSW 2017: Alexandra Fiorillo, "Behavioral Design and Social Impact"
jayzes
0
48
DSW 2017 - Nater Jorde, Code42, "Our Web Application Journey"
jayzes
0
71
DSW 2017: Travis Jacobs, "Time Is Money, Reducing Cost Through Virtual Prototyping"
jayzes
0
58
Denver Startup Week 2017 Presenter Training
jayzes
0
210
Other Decks in Programming
See All in Programming
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
190
CSC307 Lecture 01
javiergs
PRO
0
680
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
160
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.9k
AgentCoreとHuman in the Loop
har1101
5
200
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
260
コマンドとリード間の連携に対する脅威分析フレームワーク
pandayumi
1
430
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
770
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
180
CSC307 Lecture 07
javiergs
PRO
0
530
[AI Engineering Summit Tokyo 2025] LLMは計画業務のゲームチェンジャーか? 最適化業務における活⽤の可能性と限界
terryu16
2
580
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
2.6k
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
It's Worth the Effort
3n
188
29k
Ethics towards AI in product and experience design
skipperchong
2
190
How GitHub (no longer) Works
holman
316
140k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
150
Fireside Chat
paigeccino
41
3.8k
Paper Plane
katiecoart
PRO
0
46k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
59
42k
Speed Design
sergeychernyshev
33
1.5k
WENDY [Excerpt]
tessaabrams
9
36k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
50
Facilitating Awesome Meetings
lara
57
6.7k
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