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
Sass: With Great Power Comes Great Responsibility
Search
Roy Tomeij
October 08, 2014
Programming
0
340
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
100
What (Not) to Do
roy
0
81
You and the Big Stage
roy
0
50
Future of Preprocessors
roy
0
150
Make Them Click
roy
0
240
0 to 80 in 40 Minutes
roy
2
220
The Future of CSS Isn't CSS
roy
5
1k
Front-End: Fun, Not Frustration
roy
1
1k
Sass in the Real World
roy
2
510
Other Decks in Programming
See All in Programming
Cloudflare Workers x AWS Lambdaの組み合わせユースケース / Cloudflare Workers x AWS Lambda Combination Use Case
seike460
PRO
2
310
[After Kotlin Fest 2024 LT Night @ Sansan] もっともっとKotlinを好きになる!K2 Compiler Pluginで遊んでみよう!
kitakkun
2
260
継続的な活動で築く地方エンジニアの道
myamashii
2
350
Trial
cairolibrary720
1
130
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
日付と正規化
megmogmog1965
0
140
【Go言語】golangci-lintの使い方
tomo1227
0
270
CSC307 Lecture 07
javiergs
PRO
0
220
CSC307 Lecture 08
javiergs
PRO
0
330
Advanced App Shrinking Techniques
cbeyls
2
150
Temporalを取り巻く仕様を整理する
sajikix
0
110
Async Await: Mastering Python's Time-Bending Tricks - EuroPython2024
yanbo
1
290
Featured
See All Featured
Gamification - CAS2011
davidbonilla
78
4.9k
Designing Experiences People Love
moore
136
23k
A Tale of Four Properties
chriscoyier
155
22k
Speed Design
sergeychernyshev
9
270
Designing on Purpose - Digital PM Summit 2013
jponch
113
6.6k
Code Review Best Practice
trishagee
58
16k
Testing 201, or: Great Expectations
jmmastey
33
6.9k
GraphQLとの向き合い方2022年版
quramy
36
13k
Six Lessons from altMBA
skipperchong
24
3.2k
Clear Off the Table
cherdarchuk
89
320k
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
How GitHub Uses GitHub to Build GitHub
holman
471
290k
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