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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Roy Tomeij
October 08, 2014
Programming
430
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by Roy Tomeij
See All by Roy Tomeij
Empathy through Acting
roy
1
130
What (Not) to Do
roy
0
110
You and the Big Stage
roy
0
94
Future of Preprocessors
roy
0
190
Make Them Click
roy
0
320
0 to 80 in 40 Minutes
roy
2
280
The Future of CSS Isn't CSS
roy
5
1.2k
Front-End: Fun, Not Frustration
roy
1
1.1k
Sass in the Real World
roy
2
530
Other Decks in Programming
See All in Programming
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
350
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
250
3Dシーンの圧縮
fadis
1
770
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
510
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
240
New "Type" system on PicoRuby
pocke
1
930
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.1k
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
770
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
280
正しくソフトウェアを作る、前提を疑うための認知の視点 / doubt-premise
minodriven
21
6.7k
Featured
See All Featured
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
A better future with KSS
kneath
240
18k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Marketing to machines
jonoalderson
1
5.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
390
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Statistics for Hackers
jakevdp
799
230k
Discover your Explorer Soul
emna__ayadi
2
1.1k
How to make the Groovebox
asonas
2
2.2k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
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