Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Clean Code: Write Clean Think Clean 
-1- 
Agenda 
What is clean code? 
Why do we need it? 
How we can do it?
What is clean code? 
Readable / Understandable 
var X=“Hetal”, var y=“Dave” 
var FirstName = “Hetal” var LastName=“Dave” ...
-3- 
Why do we need it? 
Better readability 
Better maintainability 
Reduced cost of maintenance 
Satisfaction of – A ...
-4- 
How we can do it? 
 Follow 
 Industry Standards 
 Your experiences/learnings 
 Implement 
 SOLID Principles 
(St...
Resources & References 
-5- 
Resharper 
 http://www.jetbrains.com/resharper/ 
Books 
Clean Code 
ISBN-13: 000-01323508...
Upcoming SlideShare
Loading in …5
×

Clean Code: Write Clean Think Clean

956 views

Published on

Slides-deck from my talk at the VT Code Camp 2014. Useful for developers of all levels and platforms. Dive into the how's and why's for developing clean code and learn to "think clean" when writing code.

Published in: Software
  • Be the first to comment

  • Be the first to like this

Clean Code: Write Clean Think Clean

  1. 1. Clean Code: Write Clean Think Clean -1- Agenda What is clean code? Why do we need it? How we can do it?
  2. 2. What is clean code? Readable / Understandable var X=“Hetal”, var y=“Dave” var FirstName = “Hetal” var LastName=“Dave” function DoSomething() function SaveAddress() -2- Easy to maintain Easy to scale up or down Simple and organized
  3. 3. -3- Why do we need it? Better readability Better maintainability Reduced cost of maintenance Satisfaction of – A Job Well Done!!!
  4. 4. -4- How we can do it?  Follow  Industry Standards  Your experiences/learnings  Implement  SOLID Principles (Start with SRP – Single Responsibility Principle) - function SaveAdress() : // Do Validation & Save Address - function ValidateAddress() : Validate Address - function Save Address() : Save Address  Tools  Resharper  Have  Self discipline  Patience
  5. 5. Resources & References -5- Resharper  http://www.jetbrains.com/resharper/ Books Clean Code ISBN-13: 000-0132350882 ISBN-10: 0132350882 Code Complete ISBN-13: 079-0145196705 ISBN-10: 0735619670 Quick Read  http://blog.pluralsight.com/7-reasons-clean-code-matters  http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod

×