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
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
120
Crypto For the Masses_
fotoverite
1
95
The Blip Generation
fotoverite
0
120
Other Decks in Programming
See All in Programming
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
120
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
170
開発効率向上のためのリファクタリングの一歩目の選択肢 ~コード分割~ / JJUG CCC 2024 Fall
ryounasso
0
430
Realtime API 入門
riofujimon
0
140
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
3.1k
Ethereum_.pdf
nekomatu
0
380
現場で役立つモデリング 超入門
masuda220
PRO
15
3.1k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
320
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
240
Googleのテストサイズを活用したテスト環境の構築
toms74209200
0
300
광고 소재 심사 과정에 AI를 도입하여 광고 서비스 생산성 향상시키기
kakao
PRO
0
170
リリース8年目のサービスの1800個のERBファイルをViewComponentに移行した方法とその結果
katty0324
5
4.2k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.2k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
How STYLIGHT went responsive
nonsquared
95
5.2k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Gamification - CAS2011
davidbonilla
80
5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
Building an army of robots
kneath
302
42k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
What's in a price? How to price your products and services
michaelherold
243
12k
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