SlideShare uma empresa Scribd logo
1 de 52
Baixar para ler offline
N O G A I N
N O PA I N
Stacy Kvernmo
@funstacy
A W K WA R D
Picture: “I should have known better….” patries71, Flickr
# N o P a i n | M Y S T O RY
D E S I G N C R I T I Q U E S
# N o P a i n
provides design feedback
EVERYONE
B A C K - E N D D E V E L O P E R S
# N o P a i n
Picture: Genesis Theme for WordPress
D I S C O V E R B U G S
Picture: Hasan Baglar/Sony World Photography Awards 2014
# N o P a i n | B E N E F I T S
I N C R E A S E FA M I L I A R I T Y
# N o P a i n | B E N E F I T S
Picture: Screenshot from The Simpsons, Matt Groening
UNDERSTAND
it well enough.
you don't
S I M P LY
If you can't explain it,
# N o P a i n | B E N E F I T S
E D U C AT I O N
F O R M A L P R O C E S S
# N o P a i n | W H E N
Picture: “President Obama does the Hour of Code” CODE.org, YouTube
P R E - C O M M I T
Picture: “LEGO Collectible Minifigures Series 7 : Computer Programmer” wiredforlego, Flickr
# N o P a i n | W H E N
P O S T- C O M M I T
# N o P a i n | W H E N
S E L F R E V I E W
# N o P a i n | W H E N
Picture: “I totally gave up!” Jay, Flickr
C O D E R E T R E AT
Picture: @CSSDevConf, Twitter
G R O W Y O U R N E T W O R KG R O W Y O U R N E T W O R K
# N o P a i n | R E S O U R C E S
O P E N S O U R C E
# N o P a i n | R E S O U R C E S
P R E PA R AT I O N T I M E
# N o P a i n | R E V I E W E R T I P S
Picture: ‘The Passage of Time’, Toni Verdú Carbó, Flickr
S TAY P O S I T I V E
“THIS IS
# N o P a i n | R E V I E W E R T I P S
💩
AV O I D A B S O L U T E S
MUST
ALWAYS
NEVER
# N o P a i n | R E V I E W E R T I P S
J U S T
Why didn’t you
JUST
do X,
# N o P a i n | R E V I E W E R T I P S
J U S T
Why didn’t you
JUST
do X,
IDIOT
# N o P a i n | R E V I E W E R T I P S
?
A S K Q U E S T I O N S
???
?
# N o P a i n | R E V I E W E R T I P S
D O C U M E N T I S S U E S
# N o P a i n | R E V I E W E R T I P S
D O C U M E N TAT I O N
# N o P a i n | A U T H O R T I P S
P R O V I D E C O N T E X T
# N o P a i n | A U T H O R T I P S
P R O V I D E C O N T E X T
# N o P a i n | A U T H O R T I P S
CODEPEN.IO/STACY
B E P R E PA R E D
Discuss what
you wrote &
# N o P a i n | A U T H O R T I P S
B E O P E N
# N o P a i n | A U T H O R T I P S
It’s not you
…
IT’S YOUR CODE
F O L L O W S TA N D A R D S
# N o P a i n | W H AT T O R E V I E W
F O R M AT T I N G
# N o P a i n | W H AT T O R E V I E W
E A S Y T O U N D E R S TA N D
# N o P a i n | W H AT T O R E V I E W
.page {
…
…
.header {
…
…
.container {
…
…
.nav {
…
…
ul {
…
…
I N C E P T I O N R U L E
# N o P a i n | W H AT T O R E V I E W
…
…
.container {
…
…
.nav {
…
…
ul {
…
…
&.dropdown {
…
…
li.nav-item {
a {
color: white;
}
}
}
}
I N C E P T I O N R U L E
# N o P a i n | W H AT T O R E V I E W
I N C E P T I O N R U L E
.page .header .container .nav ul.
color: white;
}
C O M P I L E S T O :
# N o P a i n | W H AT T O R E V I E W
I N C E P T I O N R U L E
.page .header .container .nav ul.
color: white;
}
C O M P I L E S T O :
# N o P a i n | W H AT T O R E V I E W
I N C E P T I O N R U L E
.page .header .container .nav ul.
color: white;
}
C O M P I L E S T O :
# N o P a i n | W H AT T O R E V I E W
body .page .header .container .na
color: violet !important;
}
.nav {
li {
margin-right: 1rem;
&:last-child {
margin-right: 0;
}
}
a {
color: orange;
&:hover {
color: salmon;
}
}
}
I N C E P T I O N R U L E
# N o P a i n | W H AT T O R E V I E W
%base {
color: violet;
}
.foo {
@extend %base;
color: orange;
}
.bar {
color: yellow;
@extend %base;
}
.foo,
.bar {
color: violet;
}
.foo {
color: orange;
}
.bar {
color: yellow;
}
C O M P I L E S T O :
@ E X T E N D
# N o P a i n | W H AT T O R E V I E W
U N N E C E S S A RY A B S T R A C T I O N
# N o P a i n | W H AT T O R E V I E W
F I X E D VA L U E S
.element {
font-size: 27px;
height: 37px;
line-height: 44px;
margin-top: 19px;
width: 264px;
}
# N o P a i n | W H AT T O R E V I E W
A C C E S S I B I L I T Y
*:focus {
outline: none;
}
# N o P a i n | W H AT T O R E V I E W
.element {
@include span-columns(12);
}
B L O AT E D O U T P U T
# N o P a i n | W H AT T O R E V I E W
B L O AT E D O U T P U T
# N o P a i n | W H AT T O R E V I E W
.element {
float: left;
display: left;
margin-right: 2.35765%;
width: 100%;
}
.element:last-child {
margin-right: 0;
}
C O M P I L E S T O :
.element {
@include fill-parent;
}
B L O AT E D O U T P U T
# N o P a i n | W H AT T O R E V I E W
.element {
width: 100%;
}
B L O AT E D O U T P U T
# N o P a i n | W H AT T O R E V I E W
.element {
width: 100%;
}
B L O AT E D O U T P U T
.element {
float: left;
display: left;
margin-right: 2.35765%;
width: 100%;
}
.element:last-child {
margin-right: 0;
}
VS.
# N o P a i n | W H AT T O R E V I E W
V E N D O R P R E F I X E S
.example {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
# N o P a i n | W H AT T O R E V I E W
U N U S E D C O D E
.example {
/* Unnecessary vendor prefixes
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box; */
box-sizing: border-box;
}
# N o P a i n | W H AT T O R E V I E W
U N U S E D C O D E
A D D U n C S S T O Y O U R B U I L D P R O C E S S
# N o P a i n | W H AT T O R E V I E W
S C A L A B I L I T Y
OOCSS
BEM
SMACSS
# N o P a i n | W H AT T O R E V I E W
R E V I E W Y O U R O W N C O D E
# N o P a i n | T O O L S
Any Text Editor
… and so many more
W O R K F L O W
# N o P a i n | T O O L S
C O D E R E V I E W
Gerrit Code Review
Upsource
Review BoardRietveld
# N o P a i n | T O O L S
C O D E R E V I E W, F T W !
# N o P a i n | K N O W L E D G E I S P O W E R
Time
After
0
25
50
75
100
Before
Quality
N O G A I N
N O PA I N
Stacy Kvernmo
@funstacy

Mais conteúdo relacionado

Mais procurados

Consequences of an Insightful Algorithm
Consequences of an Insightful AlgorithmConsequences of an Insightful Algorithm
Consequences of an Insightful Algorithm
Carina C. Zona
 

Mais procurados (20)

Consequences of an Insightful Algorithm
Consequences of an Insightful AlgorithmConsequences of an Insightful Algorithm
Consequences of an Insightful Algorithm
 
The Evolution and Future of Content Publishing
The Evolution and Future of Content PublishingThe Evolution and Future of Content Publishing
The Evolution and Future of Content Publishing
 
Promo Games for Movies and TV Shows
Promo Games for Movies and TV ShowsPromo Games for Movies and TV Shows
Promo Games for Movies and TV Shows
 
Food is the new Fashion
Food is the new FashionFood is the new Fashion
Food is the new Fashion
 
Jack D. Ryger: Best Colorado Ski Resorts
Jack D. Ryger: Best Colorado Ski ResortsJack D. Ryger: Best Colorado Ski Resorts
Jack D. Ryger: Best Colorado Ski Resorts
 
Suggerimenti per i selezionatori
Suggerimenti per i selezionatoriSuggerimenti per i selezionatori
Suggerimenti per i selezionatori
 
Designing Agentive Technology with Christopher Noessel
Designing Agentive Technology with Christopher NoesselDesigning Agentive Technology with Christopher Noessel
Designing Agentive Technology with Christopher Noessel
 
Bits of video
Bits of videoBits of video
Bits of video
 
Wine Guide for Beginners
Wine Guide for BeginnersWine Guide for Beginners
Wine Guide for Beginners
 
Content Marketing & Social Media voor Online Recruitment door Alina Sosnina (...
Content Marketing & Social Media voor Online Recruitment door Alina Sosnina (...Content Marketing & Social Media voor Online Recruitment door Alina Sosnina (...
Content Marketing & Social Media voor Online Recruitment door Alina Sosnina (...
 
Holistic SEO - WordCamp NL 2015
Holistic SEO - WordCamp NL 2015Holistic SEO - WordCamp NL 2015
Holistic SEO - WordCamp NL 2015
 
HRM KVK en social media
HRM KVK en social mediaHRM KVK en social media
HRM KVK en social media
 
Top 10 Places To Visit In London
Top 10 Places To Visit In LondonTop 10 Places To Visit In London
Top 10 Places To Visit In London
 
HOW PARTICIPATING IN CANNABIS INVESTING FORUM WEBINAR CAN BENEFIT YOU
HOW PARTICIPATING IN CANNABIS INVESTING FORUM WEBINAR CAN BENEFIT YOUHOW PARTICIPATING IN CANNABIS INVESTING FORUM WEBINAR CAN BENEFIT YOU
HOW PARTICIPATING IN CANNABIS INVESTING FORUM WEBINAR CAN BENEFIT YOU
 
Dan Schneider: Quiz! “Sam & Cat”, Episode - Motorcycle Mystery by Schneider's...
Dan Schneider: Quiz! “Sam & Cat”, Episode - Motorcycle Mystery by Schneider's...Dan Schneider: Quiz! “Sam & Cat”, Episode - Motorcycle Mystery by Schneider's...
Dan Schneider: Quiz! “Sam & Cat”, Episode - Motorcycle Mystery by Schneider's...
 
Apresentação TERDesign
Apresentação TERDesignApresentação TERDesign
Apresentação TERDesign
 
How to make money using social media
How to make money using social mediaHow to make money using social media
How to make money using social media
 
On the shoulders of Giants: Stop looking up, and Start Looking Down
On the shoulders of Giants: Stop looking up, and Start Looking DownOn the shoulders of Giants: Stop looking up, and Start Looking Down
On the shoulders of Giants: Stop looking up, and Start Looking Down
 
Énmárka a gyakorlatban
Énmárka a gyakorlatbanÉnmárka a gyakorlatban
Énmárka a gyakorlatban
 
Jack D. Ryger: Tips To Become A Better Skier
Jack D. Ryger: Tips To Become A Better SkierJack D. Ryger: Tips To Become A Better Skier
Jack D. Ryger: Tips To Become A Better Skier
 

Destaque

Google maps street view power point presentation
Google maps street view power point presentationGoogle maps street view power point presentation
Google maps street view power point presentation
mireya921
 

Destaque (20)

Making Sense of Twig
Making Sense of TwigMaking Sense of Twig
Making Sense of Twig
 
Scalable CSS Architecture
Scalable CSS ArchitectureScalable CSS Architecture
Scalable CSS Architecture
 
Google Maps Guiding Your Classroom
Google Maps  Guiding Your ClassroomGoogle Maps  Guiding Your Classroom
Google Maps Guiding Your Classroom
 
Software Quality for Programmers
Software Quality for ProgrammersSoftware Quality for Programmers
Software Quality for Programmers
 
12 Cool Google Maps Mashups
12 Cool Google Maps Mashups12 Cool Google Maps Mashups
12 Cool Google Maps Mashups
 
Google Products & Google Maps
Google Products & Google MapsGoogle Products & Google Maps
Google Products & Google Maps
 
12 Values and Skills Gained Through Contemplative Practices in Higher Education
12 Values and Skills Gained Through Contemplative Practices in Higher Education12 Values and Skills Gained Through Contemplative Practices in Higher Education
12 Values and Skills Gained Through Contemplative Practices in Higher Education
 
Let's Go: Introduction to Google's Go Programming Language
Let's Go: Introduction to Google's Go Programming LanguageLet's Go: Introduction to Google's Go Programming Language
Let's Go: Introduction to Google's Go Programming Language
 
Challenge Your Students, Don't Trick Them
Challenge Your Students, Don't Trick ThemChallenge Your Students, Don't Trick Them
Challenge Your Students, Don't Trick Them
 
Google maps street view power point presentation
Google maps street view power point presentationGoogle maps street view power point presentation
Google maps street view power point presentation
 
Google Maps Presentation
Google Maps PresentationGoogle Maps Presentation
Google Maps Presentation
 
How to Implement Hybrid Cloud Solutions Successfully
How to Implement Hybrid Cloud Solutions SuccessfullyHow to Implement Hybrid Cloud Solutions Successfully
How to Implement Hybrid Cloud Solutions Successfully
 
Bangalore Container Conference 2017 - Poster
Bangalore Container Conference 2017 - PosterBangalore Container Conference 2017 - Poster
Bangalore Container Conference 2017 - Poster
 
1099 Problems: Self-Employment and the Future of Financial Services
1099 Problems: Self-Employment and the Future of Financial Services1099 Problems: Self-Employment and the Future of Financial Services
1099 Problems: Self-Employment and the Future of Financial Services
 
Startup Technology: Cheatsheet for Non-Techies
Startup Technology: Cheatsheet for Non-TechiesStartup Technology: Cheatsheet for Non-Techies
Startup Technology: Cheatsheet for Non-Techies
 
Five Tips To Help You Tackle Programming
Five Tips To Help You Tackle ProgrammingFive Tips To Help You Tackle Programming
Five Tips To Help You Tackle Programming
 
10 books that every developer must read
10 books that every developer must read10 books that every developer must read
10 books that every developer must read
 
How to Make Great Software Estimates
How to Make Great Software EstimatesHow to Make Great Software Estimates
How to Make Great Software Estimates
 
10 key marketing_trends_for_2016
10 key marketing_trends_for_201610 key marketing_trends_for_2016
10 key marketing_trends_for_2016
 
10 Tips to Improve your Daily Stand up
10 Tips to Improve your Daily Stand up10 Tips to Improve your Daily Stand up
10 Tips to Improve your Daily Stand up
 

Semelhante a No pain, no gain. CSS Code Reviews FTW.

Thinking Outside the Book KPR
Thinking Outside the Book KPRThinking Outside the Book KPR
Thinking Outside the Book KPR
lrougeux
 
multimediainfomediac17-180302055121.pdf
multimediainfomediac17-180302055121.pdfmultimediainfomediac17-180302055121.pdf
multimediainfomediac17-180302055121.pdf
ClaesTrinio
 
Mobile UX - Things to consider
Mobile UX - Things to considerMobile UX - Things to consider
Mobile UX - Things to consider
Richard Hewitt
 
Guia de informatica nro° 2!
Guia de informatica nro° 2!Guia de informatica nro° 2!
Guia de informatica nro° 2!
Lucia Aparicio
 

Semelhante a No pain, no gain. CSS Code Reviews FTW. (20)

Learning online 030215
Learning online 030215Learning online 030215
Learning online 030215
 
ChatBots and conversational marketing | Six & Flow
ChatBots and conversational marketing | Six & FlowChatBots and conversational marketing | Six & Flow
ChatBots and conversational marketing | Six & Flow
 
Design for your audience
Design for your audienceDesign for your audience
Design for your audience
 
Thinking Outside the Book KPR
Thinking Outside the Book KPRThinking Outside the Book KPR
Thinking Outside the Book KPR
 
multimediainfomediac17-180302055121.pdf
multimediainfomediac17-180302055121.pdfmultimediainfomediac17-180302055121.pdf
multimediainfomediac17-180302055121.pdf
 
Almost Everything I've Learned From 5 Years of Lean UX
Almost Everything I've Learned From 5 Years of Lean UXAlmost Everything I've Learned From 5 Years of Lean UX
Almost Everything I've Learned From 5 Years of Lean UX
 
Multimedia information and Media
Multimedia information and MediaMultimedia information and Media
Multimedia information and Media
 
Curriculum Night Owen 2016 17
Curriculum Night Owen 2016 17Curriculum Night Owen 2016 17
Curriculum Night Owen 2016 17
 
How to Write a Book in Four Easy Steps
How to Write a Book in Four Easy StepsHow to Write a Book in Four Easy Steps
How to Write a Book in Four Easy Steps
 
TECHnosterone and UXtrogens: field check
TECHnosterone and UXtrogens: field checkTECHnosterone and UXtrogens: field check
TECHnosterone and UXtrogens: field check
 
Midterm Rehab
Midterm RehabMidterm Rehab
Midterm Rehab
 
What is Student Centered Coaching?
What is Student Centered Coaching?What is Student Centered Coaching?
What is Student Centered Coaching?
 
APItheDocs: How Can API Documentation Be Agile?
APItheDocs: How Can API Documentation Be Agile?APItheDocs: How Can API Documentation Be Agile?
APItheDocs: How Can API Documentation Be Agile?
 
Mobile UX - Things to consider
Mobile UX - Things to considerMobile UX - Things to consider
Mobile UX - Things to consider
 
#Winning at Instagram, or How to Learn to Stop Worrying and Love the Algorithm
#Winning at Instagram, or How to Learn to Stop Worrying and Love the Algorithm#Winning at Instagram, or How to Learn to Stop Worrying and Love the Algorithm
#Winning at Instagram, or How to Learn to Stop Worrying and Love the Algorithm
 
DPU SUMMER LAB PROPOSAL GROUP A
DPU SUMMER LAB PROPOSAL GROUP ADPU SUMMER LAB PROPOSAL GROUP A
DPU SUMMER LAB PROPOSAL GROUP A
 
Frontend architecture on big and small sites
Frontend architecture on big and small sitesFrontend architecture on big and small sites
Frontend architecture on big and small sites
 
Lesson from 5 years of Lean UX
Lesson from 5 years of Lean UXLesson from 5 years of Lean UX
Lesson from 5 years of Lean UX
 
PPT-in-Creative-Writing-Q1.pptx
PPT-in-Creative-Writing-Q1.pptxPPT-in-Creative-Writing-Q1.pptx
PPT-in-Creative-Writing-Q1.pptx
 
Guia de informatica nro° 2!
Guia de informatica nro° 2!Guia de informatica nro° 2!
Guia de informatica nro° 2!
 

Mais de Stacy Kvernmo

Mais de Stacy Kvernmo (8)

The Great State of Design 2018
The Great State of Design 2018The Great State of Design 2018
The Great State of Design 2018
 
The Great State of Design with CSS Grid Layout and Friends
The Great State of Design with CSS Grid Layout and FriendsThe Great State of Design with CSS Grid Layout and Friends
The Great State of Design with CSS Grid Layout and Friends
 
From Scratch to Launch #2 - Design phase
From Scratch to Launch #2 - Design phaseFrom Scratch to Launch #2 - Design phase
From Scratch to Launch #2 - Design phase
 
From Scratch to Launch Series - Part 1 - Planning Phase
From Scratch to Launch Series - Part 1 - Planning PhaseFrom Scratch to Launch Series - Part 1 - Planning Phase
From Scratch to Launch Series - Part 1 - Planning Phase
 
The Great State of Design with CSS Grid Layout and Friends
The Great State of Design with CSS Grid Layout and FriendsThe Great State of Design with CSS Grid Layout and Friends
The Great State of Design with CSS Grid Layout and Friends
 
Curing Design Complacency
Curing Design ComplacencyCuring Design Complacency
Curing Design Complacency
 
Exploring the Design Process
Exploring the Design ProcessExploring the Design Process
Exploring the Design Process
 
Exploring the design process #wcchi
Exploring the design process #wcchiExploring the design process #wcchi
Exploring the design process #wcchi
 

Último

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
%in Lydenburg+277-882-255-28 abortion pills for sale in Lydenburg
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 

No pain, no gain. CSS Code Reviews FTW.

  • 1. N O G A I N N O PA I N Stacy Kvernmo @funstacy
  • 2. A W K WA R D Picture: “I should have known better….” patries71, Flickr # N o P a i n | M Y S T O RY
  • 3. D E S I G N C R I T I Q U E S # N o P a i n provides design feedback EVERYONE
  • 4. B A C K - E N D D E V E L O P E R S # N o P a i n Picture: Genesis Theme for WordPress
  • 5. D I S C O V E R B U G S Picture: Hasan Baglar/Sony World Photography Awards 2014 # N o P a i n | B E N E F I T S
  • 6. I N C R E A S E FA M I L I A R I T Y # N o P a i n | B E N E F I T S Picture: Screenshot from The Simpsons, Matt Groening
  • 7. UNDERSTAND it well enough. you don't S I M P LY If you can't explain it, # N o P a i n | B E N E F I T S E D U C AT I O N
  • 8. F O R M A L P R O C E S S # N o P a i n | W H E N Picture: “President Obama does the Hour of Code” CODE.org, YouTube
  • 9. P R E - C O M M I T Picture: “LEGO Collectible Minifigures Series 7 : Computer Programmer” wiredforlego, Flickr # N o P a i n | W H E N
  • 10. P O S T- C O M M I T # N o P a i n | W H E N
  • 11. S E L F R E V I E W # N o P a i n | W H E N Picture: “I totally gave up!” Jay, Flickr
  • 12. C O D E R E T R E AT Picture: @CSSDevConf, Twitter G R O W Y O U R N E T W O R KG R O W Y O U R N E T W O R K # N o P a i n | R E S O U R C E S
  • 13. O P E N S O U R C E # N o P a i n | R E S O U R C E S
  • 14. P R E PA R AT I O N T I M E # N o P a i n | R E V I E W E R T I P S Picture: ‘The Passage of Time’, Toni Verdú Carbó, Flickr
  • 15. S TAY P O S I T I V E “THIS IS # N o P a i n | R E V I E W E R T I P S 💩
  • 16. AV O I D A B S O L U T E S MUST ALWAYS NEVER # N o P a i n | R E V I E W E R T I P S
  • 17. J U S T Why didn’t you JUST do X, # N o P a i n | R E V I E W E R T I P S
  • 18. J U S T Why didn’t you JUST do X, IDIOT # N o P a i n | R E V I E W E R T I P S
  • 19. ? A S K Q U E S T I O N S ??? ? # N o P a i n | R E V I E W E R T I P S
  • 20. D O C U M E N T I S S U E S # N o P a i n | R E V I E W E R T I P S
  • 21. D O C U M E N TAT I O N # N o P a i n | A U T H O R T I P S
  • 22. P R O V I D E C O N T E X T # N o P a i n | A U T H O R T I P S
  • 23. P R O V I D E C O N T E X T # N o P a i n | A U T H O R T I P S CODEPEN.IO/STACY
  • 24. B E P R E PA R E D Discuss what you wrote & # N o P a i n | A U T H O R T I P S
  • 25. B E O P E N # N o P a i n | A U T H O R T I P S It’s not you … IT’S YOUR CODE
  • 26. F O L L O W S TA N D A R D S # N o P a i n | W H AT T O R E V I E W
  • 27. F O R M AT T I N G # N o P a i n | W H AT T O R E V I E W
  • 28. E A S Y T O U N D E R S TA N D # N o P a i n | W H AT T O R E V I E W
  • 29. .page { … … .header { … … .container { … … .nav { … … ul { … … I N C E P T I O N R U L E # N o P a i n | W H AT T O R E V I E W
  • 30. … … .container { … … .nav { … … ul { … … &.dropdown { … … li.nav-item { a { color: white; } } } } I N C E P T I O N R U L E # N o P a i n | W H AT T O R E V I E W
  • 31. I N C E P T I O N R U L E .page .header .container .nav ul. color: white; } C O M P I L E S T O : # N o P a i n | W H AT T O R E V I E W
  • 32. I N C E P T I O N R U L E .page .header .container .nav ul. color: white; } C O M P I L E S T O : # N o P a i n | W H AT T O R E V I E W
  • 33. I N C E P T I O N R U L E .page .header .container .nav ul. color: white; } C O M P I L E S T O : # N o P a i n | W H AT T O R E V I E W body .page .header .container .na color: violet !important; }
  • 34. .nav { li { margin-right: 1rem; &:last-child { margin-right: 0; } } a { color: orange; &:hover { color: salmon; } } } I N C E P T I O N R U L E # N o P a i n | W H AT T O R E V I E W
  • 35. %base { color: violet; } .foo { @extend %base; color: orange; } .bar { color: yellow; @extend %base; } .foo, .bar { color: violet; } .foo { color: orange; } .bar { color: yellow; } C O M P I L E S T O : @ E X T E N D # N o P a i n | W H AT T O R E V I E W
  • 36. U N N E C E S S A RY A B S T R A C T I O N # N o P a i n | W H AT T O R E V I E W
  • 37. F I X E D VA L U E S .element { font-size: 27px; height: 37px; line-height: 44px; margin-top: 19px; width: 264px; } # N o P a i n | W H AT T O R E V I E W
  • 38. A C C E S S I B I L I T Y *:focus { outline: none; } # N o P a i n | W H AT T O R E V I E W
  • 39. .element { @include span-columns(12); } B L O AT E D O U T P U T # N o P a i n | W H AT T O R E V I E W
  • 40. B L O AT E D O U T P U T # N o P a i n | W H AT T O R E V I E W .element { float: left; display: left; margin-right: 2.35765%; width: 100%; } .element:last-child { margin-right: 0; } C O M P I L E S T O :
  • 41. .element { @include fill-parent; } B L O AT E D O U T P U T # N o P a i n | W H AT T O R E V I E W
  • 42. .element { width: 100%; } B L O AT E D O U T P U T # N o P a i n | W H AT T O R E V I E W
  • 43. .element { width: 100%; } B L O AT E D O U T P U T .element { float: left; display: left; margin-right: 2.35765%; width: 100%; } .element:last-child { margin-right: 0; } VS. # N o P a i n | W H AT T O R E V I E W
  • 44. V E N D O R P R E F I X E S .example { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; } # N o P a i n | W H AT T O R E V I E W
  • 45. U N U S E D C O D E .example { /* Unnecessary vendor prefixes -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; */ box-sizing: border-box; } # N o P a i n | W H AT T O R E V I E W
  • 46. U N U S E D C O D E A D D U n C S S T O Y O U R B U I L D P R O C E S S # N o P a i n | W H AT T O R E V I E W
  • 47. S C A L A B I L I T Y OOCSS BEM SMACSS # N o P a i n | W H AT T O R E V I E W
  • 48. R E V I E W Y O U R O W N C O D E # N o P a i n | T O O L S Any Text Editor … and so many more
  • 49. W O R K F L O W # N o P a i n | T O O L S
  • 50. C O D E R E V I E W Gerrit Code Review Upsource Review BoardRietveld # N o P a i n | T O O L S
  • 51. C O D E R E V I E W, F T W ! # N o P a i n | K N O W L E D G E I S P O W E R Time After 0 25 50 75 100 Before Quality
  • 52. N O G A I N N O PA I N Stacy Kvernmo @funstacy