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
350
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
83
You and the Big Stage
roy
0
52
Future of Preprocessors
roy
0
150
Make Them Click
roy
0
250
0 to 80 in 40 Minutes
roy
2
230
The Future of CSS Isn't CSS
roy
5
1.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
Re:proS_案内資料
rect
0
210
Cloud Adoption Framework にみる組織とクラウド導入戦略
tomokusaba
2
690
Програмиране с Rust, ФМИ, 2024
nikolads
0
130
Vue3の一歩踏み込んだパフォーマンスチューニング2024
hal_spidernight
3
2.4k
現場から考えるソフトウェアエンジニアリングの価値と実験
nomuson
1
160
offers_20241022_imakiire.pdf
imakurusu
1
140
Новый уровень ML-персонализации Lamoda: Как мы усилили ее в каталоге и перенесли на другие продукты
lamodatech
0
420
急速に利用拡大を続ける飲食店向けサービスで 店内端末同士のローカル通信を追加設定なしで実現した話
whatasoda
0
150
CSC509 Lecture 07
javiergs
PRO
0
140
CSC509 Lecture 06
javiergs
PRO
0
140
perl for shell, awk and sed programmers
mackee
2
1k
Vue.js学習の振り返り
hiro_xre
1
100
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Happy Clients
brianwarren
97
6.7k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Why Our Code Smells
bkeepers
PRO
334
57k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.6k
How to train your dragon (web standard)
notwaldorf
88
5.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2k
The Cost Of JavaScript in 2023
addyosmani
44
5.9k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
A better future with KSS
kneath
237
17k
Building Adaptive Systems
keathley
38
2.2k
Designing for Performance
lara
604
68k
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