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
50
DSW 2017 - Brian Parks, "Getting Ready for Your Capital Raise"
jayzes
0
40
DSW 2017: Alexandra Fiorillo, "Behavioral Design and Social Impact"
jayzes
0
46
DSW 2017 - Nater Jorde, Code42, "Our Web Application Journey"
jayzes
0
67
DSW 2017: Travis Jacobs, "Time Is Money, Reducing Cost Through Virtual Prototyping"
jayzes
0
53
Denver Startup Week 2017 Presenter Training
jayzes
0
210
Other Decks in Programming
See All in Programming
XP, Testing and ninja testing
m_seki
3
210
Code as Context 〜 1にコードで 2にリンタ 34がなくて 5にルール? 〜
yodakeisuke
0
110
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
1
700
5つのアンチパターンから学ぶLT設計
narihara
1
120
Node-RED を(HTTP で)つなげる MCP サーバーを作ってみた
highu
0
110
Deep Dive into ~/.claude/projects
hiragram
10
1.9k
NPOでのDevinの活用
codeforeveryone
0
450
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
4
1k
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
950
PHPでWebSocketサーバーを実装しよう2025
kubotak
0
230
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
820
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
590
Featured
See All Featured
How GitHub (no longer) Works
holman
314
140k
A designer walks into a library…
pauljervisheath
207
24k
Building Adaptive Systems
keathley
43
2.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
230
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Automating Front-end Workflow
addyosmani
1370
200k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
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