Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Tyranny of Choice
Search
Matthew Bergman
November 09, 2012
Programming
150
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Tyranny of Choice
Matthew Bergman
November 09, 2012
Transcript
108 slides
Tyranny Tyranny Tyranny O f C h o i c
e
Matthew Bergman @FotoVerite
HOW MANY CHOICES A DAY DO YOU MAKE WHEN PROGRAMMING
1 5
1 0
5
I B E T 1 MOST DAYS
WE USUALLY HAVE OUR GOTOS
Frameworks
Precompilers
LIBRARIES
S t y l e s ;
Modules
EXPERIMENT AN Let try
IF I ASKED YOU TO CREATE A WORDPRESS SITE WHAT
WOULD YOU DO
None
Look Familiar?
None
BUT DO YOU HAVE ANY IDEA? WHERE TO START?
LUCKILY IN JS YOU DO!
WHEN NEW PROBLEMS ARISE THOUGH WE BEGIN WITH M o
d u l e s
NPM HAS 17,307 MODULES 11/09/12
NPM HAS 17,308 MODULES
H O L Y S H I T
That’s More Than Homebrew 2 , 0 0 2 F
o r m u l a s
That’s More Than Magic 1 2 , 2 4 6
C a r d s
THIS IS ONLY GOING TO G R O W
0 4000 8000 12000 16000 20000 N P M M
O D U L E S
THAT’S A LOT OF C H O I C E
S
IF I ASKED YOU TO USE A CONTROL FLOW LIBRARY
WHAT WOULD YOU DO
A S Y N C
IF YOU SEARCHED FOR CONTROL FLOW ON NPM-WWW YOU’D GET
20 MODULES
NONE ARE ASYNC
WE ASSUME THAT PEOPLE ALREADY HAVE THE KNOWLEDGE THAT WE
HAVE
WE ASSUME THAT PEOPLE ALREADY HAVE THE SKILLS THAT WE
HAVE
There has to be a better way than this Q
u e s t i o n s , w e m i g h t a n s w e r t h e m G o o g l e
THE PROBLEM IS NOT NPM-WWW
P R O B L E M
DISCOVERY M o d u l e s M o
d u l e s M o d u l e s M o d u l e s M o d u l e s M o d u l e s M o d u l e s DISCOVERY DISCOVERY DISCOVERY DISCOVERY
I LIKE THE IDEA OF MANY MODULES WORKING TOGETHER
We need Small Wheels Modules should do one thing Substack
Tiny modules are fun... because they are easy I just spin everything out into lots of tiny modules Substack Substack
DO ONE THING AND ONE THING ONLY MODULES SHOULD module.export
= function() {... }
WE DON’T WANT A MONOLITH
R A I L S Overshadowing Means no real innovation
S I N A T R A PUMA WEB-MACHINE
BUT
THE REASON PEOPLE USED RAILS IS BECAUSE IT MEANT
L e s s D e c i s i
o n s
L e s s Technical Debt
L e s s T i m e
EVERY CHOICE HAS A C O S T
AND
EVERY ACT OF CHOOSING HAS A C O S T
TECHNICAL DEBT ACCRUES BEFORE AND AFTER CHOICES
WE HAVE FINITE TIME
None
W E N E E D T O STREAMLINE D
E C I S I O N S
I SHOULDN’T HAVE TO MAKE FIFTY DECISIONS TO START A
PROJECT
IT’S NOT JUST ABOUT DEPENDENCIES
It’ about M O D U L E S M
O D U L E S M O D U L E S C ONNECTING C ONNECTING CONNECTING
Make sure you build your libraries in a layered fashion
to reduce complexity. See sockjs => shoes => mdm => boot Raynos S t a c k o v e r f l o w “
DISCOVERY DISCOVERY DISCOVERY DISCOVERY DISCOVERY
NEEDS TO BE ORGANIC
NEEDS TO BE FUN
NEEDS TO BE THOUGHTFUL
THERE ARE COMMON PATTERNS TO DISCOVERY DISCOVERY DISCOVERY DISCOVERY DISCOVERY
LETS START SIMPLE
BLOG-POSTS
UM... NODEJITSU?
PLANETNODE
TRAINING SITES
CODEACADEMY
JS FOR CATS?
PODCASTS
WE HAVE ONE PODCAST AND ONLY ONE PODCAST
N O D E U P
None
NODE IS A YOUNG COMMUNITY THESE THINGS TAKE TIME
C O M M U N I T Y TAKES
TIME
BUT
WE NEED TO CREATE THESE RESOURCES NOW
BECAUSE
WE DON’T WANT A MONOLITH
AND
WE NEED TO THINK
BIGGER
WE CAN DO BETTER THAN THE PREVIOUS GENERATION
A LOT OF THESE METHODS ARE TIME SENSITIVE
AND N P M HAS UNIQUE CHALLENGES UNIQUE
None
H E A L T H COMMITS STARS FORKS
COMMITS STARS FORKS IF IT DOES ONE THING WELL WHY
ARE YOU ADDING TO IT
COMMITS STARS FORKS DITTO
COMMITS STARS FORKS SERIOUSLY WHO USES STARS
WE NEED A NEW WAY TO JUDGE THE HEALTH OF
A MODULE
VIEWING DEPENDENTS BOTTOM TO TOP
GOODNESS INDEX NPM-WWW
BETWEEN AUTHORS Collaboration
USED IN PRODUCTION MODULES
A GROWING COLLECTION OF APPS AND THEIR MODULES
VISUALIZATIONS WOULD BE AWESOME
MODULES ARE THE INGREDIENTS FOR YOUR APP YOU NEED TO
KNOW HOW THEY FIT TOGETHER
WE NEED TO MAKE IT AS EASY AS WE CAN
TO DISCOVER THE TOOLS WE NEED
WE HAVE FINITE TIME
Node project has never had to have any of the
conversations that the Apache project had to have. Mikeal Rogers L X J S 2 0 1 2 “
THIS MEANS WE HAVE NEW CONVERSATIONS THAT WE NEED TO
HAVE
THESE PROBLEMS ARE NOT EASILY SOLVED.
STOP... DEMO TIME
@FOTOVERITE
More Decks by Matthew Bergman
See All by Matthew Bergman
Health Myths We Tell in Tech
fotoverite
0
160
Crypto For the Masses_
fotoverite
1
110
The Blip Generation
fotoverite
0
140
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
150
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
170
GraphQL の onError と Nullability のこれから
quramy
0
220
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
350
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
980
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.9k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
310
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
210
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
12k
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
110
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
2
780
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
520
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
520
Become a Pro
speakerdeck
PRO
31
6.4k
The browser strikes back
jonoalderson
0
1.9k
Thoughts on Productivity
jonyablonski
76
5.5k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
It's Worth the Effort
3n
188
29k
GitHub's CSS Performance
jonrohan
1033
470k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
Designing for Performance
lara
612
70k