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
50
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
変わらないものが、変わるものを決める — 意図駆動開発 × イベントソーシング × イミュータブル | What Doesn't Change Decides What Can — IDD × Event Sourcing × Immutability
tomohisa
0
1.1k
テーブルをDELETEした
yuzneri
0
130
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
320
Go言語とトイモデルで学ぶTransformerの気持ち / fukuokago23-transformer
monochromegane
0
160
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
120
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
510
OpenSpecのproposalにbrainstormingを持たせてみた
tigertora7571
1
180
生成AI導入の「期待外れ」を乗り越える ー 開発フロー改革が目指す、真の組織変革
starfish719
0
3.6k
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
160
その節約、円になってますか?
isamumumu
1
670
React本体のコードリーディング
high_g_engineer
1
130
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
1
170
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
180
Practical Orchestrator
shlominoach
191
12k
Into the Great Unknown - MozCon
thekraken
41
2.7k
エンジニアに許された特別な時間の終わり
watany
108
250k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
Design in an AI World
tapps
1
270
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
980
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
690
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
500
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
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