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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
David Nowinsky
April 18, 2014
Programming
990
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
75
Other Decks in Programming
See All in Programming
net-httpのHTTP/2対応について
naruse
0
470
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
Oxcを導入して開発体験が向上した話
yug1224
4
300
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
480
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
スマートグラスで並列バイブコーディング
hyshu
0
120
ECSアプリログをFireLensでコスト削減しようとしたけど諦めた話 in Fargate×Node.js
akihisaikeda
2
4k
Oxlintのカスタムルールの現況
syumai
6
1.1k
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
560
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
100
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
3
1.9k
さぁV100、メモリをお食べ・・・
nilpe
0
130
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
1
3.5k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Producing Creativity
orderedlist
PRO
348
40k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
380
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
140
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
New Earth Scene 8
popppiees
3
2.3k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
420
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
580
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