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
Code like a #FashionVictim
Search
David Nowinsky
April 18, 2014
Programming
990
0
Share
Code like a #FashionVictim
Beautiful code with CoffeeScript, Jade, LESS
David Nowinsky
April 18, 2014
More Decks by David Nowinsky
See All by David Nowinsky
Angular on speed
davinov
0
58
ngParis #12 - Devops Metrix
davinov
0
96
Devops Metrix
davinov
0
1.1k
Angular <3 APIs
davinov
1
1.2k
Investment opportunities in regulated ICT sector
davinov
0
67
ETIC - Le vote en ligne
davinov
0
73
Other Decks in Programming
See All in Programming
Back to the roots of date
jinroq
0
570
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
300
2026_04_15_量子計算をパズルとして解く
hideakitakechi
0
130
CDK Deployのための ”反響定位”
watany
5
900
iOS機能開発のAI環境と起きた変化
ryunakayama
0
190
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
2
290
WebAssembly を読み込むベストプラクティス 2026年春版 / Best Practices for Loading WebAssembly (Spring 2026)
petamoriken
4
950
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
210
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
450
Firefoxにコントリビューションして得られた学び
ken7253
1
140
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
実用!Hono RPC2026
yodaka
2
280
Featured
See All Featured
Paper Plane
katiecoart
PRO
1
49k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
220
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
AI: The stuff that nobody shows you
jnunemaker
PRO
6
610
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
430
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
Mind Mapping
helmedeiros
PRO
1
170
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
900
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Transcript
Code like a #FashionVictim Beautiful code with CoffeeScript, Jade, LESS
Atelier technique #3 18 avril 2014
Hello David Nowinsky @davinov
Browers are like old trees...
Browers are like old trees... New things HTML5 CSS3 Old
roots JavaScript HTML CSS
HTML, JavaScript & CSS are cool
HTML, JavaScript & CSS are cool but...
HTML, JavaScript & CSS are cool but... #FashionPolice
fs.readdir(source, function(err, files) { if (err) { console. log('Error finding
files: ' + err) } else { files.forEach(function(filename, fileIndex) { console. log(filename) gm(source + filename).size( function(err, values) { if (err) { console. log('Error identifying file size: ' + err) } else { console. log(filename + ' : ' + values) aspect = (values.width / values.height) widths. forEach(function(width, widthIndex) { height = Math.round(width / aspect) console. log('resizing ' + filename + 'to ' + height + 'x' + height) this.resize(width, height).write(destination + 'w' + width + '_' + filename, function(err) { if (err) console. log('Error writing file: ' + err) }) }.bind( this)) } }) }) } }) HTML, JavaScript & CSS are cool but... #WTF
HTML, JavaScript & CSS are cool but... #PleaseDont
This is beautiful code def complex_function (a, b, c): if
not a: return None # Raising an exception might be better if not b: return None # Raising an exception might be better if not x: # Some Plan-B computation of x return x # One single exit point short clean use indentation
But bowsers don’t run it :-(
Welcome your saviors
JavaScript without the mess
HTML clean and readable
What CSS should be
Make up with the browser ? ?
Make up with the browser or or
Real life examples
Merci David Nowinsky @davinov Code like a #FashionVictim