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
180
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cognitive Psychology and the Zen of Code
Cognitive Psychology talk from Rocky Mountain Ruby 2011
Jay Zeschin
September 12, 2011
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
46
DSW 2017: Saloni Doshi, "Build an Epic Brand and Business, Simply By Being Better"
jayzes
0
57
DSW 2017 - Brian Parks, "Getting Ready for Your Capital Raise"
jayzes
0
48
DSW 2017: Alexandra Fiorillo, "Behavioral Design and Social Impact"
jayzes
0
51
DSW 2017 - Nater Jorde, Code42, "Our Web Application Journey"
jayzes
0
75
DSW 2017: Travis Jacobs, "Time Is Money, Reducing Cost Through Virtual Prototyping"
jayzes
0
63
Denver Startup Week 2017 Presenter Training
jayzes
0
230
Other Decks in Programming
See All in Programming
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
270
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
280
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
610
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
280
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
120
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
920
Agentic UI
manfredsteyer
PRO
0
200
act1-costs.pdf
sumedhbala
0
110
Lessons from Spec-Driven Development
simas
PRO
0
220
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
930
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
410
RTSPクライアントを自作してみた話
simotin13
0
630
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
230
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Rails Girls Zürich Keynote
gr2m
96
14k
So, you think you're a good person
axbom
PRO
2
2.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Paper Plane (Part 1)
katiecoart
PRO
0
9.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
980
Thoughts on Productivity
jonyablonski
76
5.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
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