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
JavaScript Playbook
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Zach
May 22, 2014
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScript Playbook
Zach
May 22, 2014
More Decks by Zach
See All by Zach
You're Not Special Kalx14
theotherzach
0
69
Test Drive a Browser Game With AngularJS
theotherzach
0
330
Lineman.js - Chicago Node.js Package Show & Tell
theotherzach
0
66
Nobody Will Train You But You
theotherzach
1
320
Other Decks in Technology
See All in Technology
Network Firewallやっていき!
news_it_enj
0
170
AI Coding Agent時代のcdk-nagガードレール 〜組織ルールを強制CIで守り抜く設計の挑戦〜
mhrtech
3
390
Type-safe IaC for Dart
coborinai
0
160
知らん間に、回ってる
ming_ayami
0
710
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
140
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
110k
Control Planeで育てるBtoB SaaSの認証基盤 - SRE NEXT 2026
pokohide
1
2.6k
オブザーバビリティ、本当に活用できてる? 〜API連携×生成AIで成熟度を自動評価〜
dmmsre
1
3.5k
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
2
660
LLM/Agent評価:トップ営業の発言を「正解」にする 〜暗黙的正解による評価を営業資産に変える〜
takkuhiro
1
230
DatabricksにおけるMCPソリューション
taka_aki
1
270
Featured
See All Featured
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
210
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
260
sira's awesome portfolio website redesign presentation
elsirapls
0
300
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
610
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
870
AI: The stuff that nobody shows you
jnunemaker
PRO
8
830
Context Engineering - Making Every Token Count
addyosmani
9
1k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
A designer walks into a library…
pauljervisheath
211
24k
Designing Experiences People Love
moore
143
24k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Transcript
JavaScript Playbook
testdouble.com @TheOtherZach
[email protected]
Who We Code For
3 Masters
User Our Code Needs To Solve Somebody’s Problem
Machine Our Code Needs To Execute Efficiently
Maintainer Future Programmers Must Be Able To Extend And Fix
Our Code
Maintainable code is readable and flexible.
Flexible
“I think we’re in trouble. I don’t think we have
the foggiest idea how to compute very well.” - Dr. Gerald Sussman
Why is maintenance so expensive?
The changeability of your code is unknowable until the change
happens.
But we can make bets.
Modular
Dependencies
Libraries / Frameworks
Your Code
Shared & Mutable State
I/O
Knowledge
Every Dependency Increases Rigidity
Tests Sometimes Enforce Modularity
Anybody Who Tells You They Have This Figured Out Is
Selling Something
Summary: ! flexibility is a function of modularity
Readable
class WestSideStory extends RomeoAndJuliet
The readability of your code is unknowable until the reading
happens.
But we can make bets.
Contextual Overhead
Consistency
Chunk Size
Libraries
Ninja Code
Code is often a pleasure to write. Make Yours Fun
To Read
Summary: ! Optimize For Reading, Not Writing
@TheOtherZach’s Specific Advice
Concat & Min in Production
We Configured Grunt For You: ! Lineman.js ! You’re Welcome
Skip Require.js
Bower < cURL
Style Guide or (Coffee|Clojure|Type)Script
Linting or (Coffee|Clojure|Type)Script
Use Ember for client routing
Learn Angular
Use Your Favorite Backend
jQuery Plugins Are Black Boxes
Learning to test ! will make you better
Invent Your Own Best Practices
testdouble.com @TheOtherZach
[email protected]