Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sass: With Great Power Comes Great Responsibility
Search
Roy Tomeij
October 08, 2014
Programming
0
400
Sass: With Great Power Comes Great Responsibility
Bottom line: don't blame the tool, don't abuse the tool, and know your audience.
Roy Tomeij
October 08, 2014
Tweet
Share
More Decks by Roy Tomeij
See All by Roy Tomeij
Empathy through Acting
roy
1
130
What (Not) to Do
roy
0
98
You and the Big Stage
roy
0
80
Future of Preprocessors
roy
0
170
Make Them Click
roy
0
300
0 to 80 in 40 Minutes
roy
2
250
The Future of CSS Isn't CSS
roy
5
1.1k
Front-End: Fun, Not Frustration
roy
1
1.1k
Sass in the Real World
roy
2
520
Other Decks in Programming
See All in Programming
AIコーディングエージェント(Manus)
kondai24
0
160
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
310
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
120
Developing static sites with Ruby
okuramasafumi
0
260
ID管理機能開発の裏側 高速にSaaS連携を実現したチームのAI活用編
atzzcokek
0
210
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
38
25k
JETLS.jl ─ A New Language Server for Julia
abap34
1
320
AWS CDKの推しポイントN選
akihisaikeda
1
240
STYLE
koic
0
160
チームをチームにするEM
hitode909
0
300
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
140
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
76
5.2k
Into the Great Unknown - MozCon
thekraken
40
2.2k
Become a Pro
speakerdeck
PRO
31
5.7k
Bash Introduction
62gerente
615
210k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Navigating Team Friction
lara
191
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
RailsConf 2023
tenderlove
30
1.3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Transcript
With Great Power Comes Great Responsibility
Sass-‐Man
Sass doesn't create bad code
Bad coders do
That’s on us
That’s on them
What’s on us?
Drive a screw with a hammer
Feature abuse
Not knowing our audience
Sass is slow to compile
What’s on them?
Sass isn’t a programming language
Treat CSS as a machine language
@extend makes for ugly selectors
Duplicate media queries
Mixins produce bloated code
Always use arguments or @content
Nesting screws up specificity
Nesting brings context
Architecture is outside the {} — Ben Frain (http://roy.io/xxv)
Performance is inside the {} — Ben Frain (http://roy.io/xxv)
Don’t edit the damn CSS
Roy Tomeij @roy