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
Tyranny of Choice
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Matthew Bergman
November 09, 2012
Programming
0
140
Tyranny of Choice
Matthew Bergman
November 09, 2012
Tweet
Share
More Decks by Matthew Bergman
See All by Matthew Bergman
Health Myths We Tell in Tech
fotoverite
0
150
Crypto For the Masses_
fotoverite
1
100
The Blip Generation
fotoverite
0
130
Other Decks in Programming
See All in Programming
Nuxt Server Components
wattanx
0
160
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
630
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
310
安いハードウェアでVulkan
fadis
1
830
ファインチューニングせずメインコンペを解く方法
pokutuna
0
210
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
140
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
130
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
680
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
180
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
340
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
330
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
880
How to train your dragon (web standard)
notwaldorf
97
6.6k
How to make the Groovebox
asonas
2
2.1k
Making Projects Easy
brettharned
120
6.6k
Designing for humans not robots
tammielis
254
26k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
93
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Transcript
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