SlideShare a Scribd company logo
CLEAN CODE
ROBERT C. MARTIN
Francisco Arley López Espinosa
Gestión de Calidad de Software
Universidad Pontificia Bolivariana
CAPÍTULO 1
 Habrá código
 Mal código
 Afán
 Después = nunca
 Costo del desorden
 Productividad tiende a 0
 Rediseño
 Mucho tiempo
 Actitud
 Ser profesional, decir NO
CAPÍTULO 1
 Enigma fundamental
 La única manera de ir rápido es ir en orden
 El arte del código limpio
 Es fácil de reconocer, pero no de hacer
 Somos autores
 Y tenemos lectores
 Fácil de leer es más fácil de escribir
 Regla del Boy Scout
 Dejar el campamento más limpio de lo que lo encontraste
WTFs/m Thom Holwerda.
http://www.osnews.com/story/19266/WTFs_m
¿Qué es código limpio?
Bjarne Stroustrup
“I like my code to be elegant and efficient. The logic should be
straightforward to make it hard for bugs to hide, the
dependencies minimal to ease maintenance, error handling
complete according to an articulated strategy, and performance
close to optimal so as not to tempt people to make the code
messy with unprincipled optimizations. Clean code does one
thing well.”
¿Qué es código limpio?
Grady Booch
“Clean code is simple and direct. Clean code reads like well-
written prose. Clean code never obscures the designer’s intent
but rather is full of crisp abstractions and straightforward lines of
control.”
¿Qué es código limpio?
Dave Thomas
“Clean code can be read, and enhanced by a developer other
than its original author. It has unit and acceptance tests. It has
meaningful names. It provides one way rather than many ways
for doing one thing. It has minimal dependencies, which are
explicitly defined, and provides a clear and minimal API. Code
should be literate since depending on the language, not all
necessary information can be expressed clearly in code alone.”
¿Qué es código limpio?
Michael Feathers
“I could list all of the qualities that I notice in clean code, but
there is one overarching quality that leads to all of them. Clean
code always looks like it was written by someone who cares.
There is nothing obvious that you can do to make it better. All of
those things were thought about by the code’s author, and if
you try to imagine improvements, you’re led back to where you
are, sitting in appreciation of the code someone left for you—
code left by someone who cares deeply about the craft.”
¿Qué es código limpio?
Ron Jeffries
“In recent years I begin, and nearly end, with Beck’s rules of
simple code. In priority order, simple code:
 Runs all the tests;
 Contains no duplication;
 Expresses all the design ideas that are in the system;
 Minimizes the number of entities such as classes, methods,
functions, and the like.”
KEEPING YOUR CODE CLEAN IS NOT JUST
COST EFFECTIVE; IT’S A MATTER OF
PROFESSIONAL SURVIVAL
Bibliografía
 Martin, Robert Cecil (2009). Clean code: a handbook of agile software
craftsmanship. Upper Saddle River, NJ: Prentice Hall

More Related Content

PPTX
Herramientas Scrum
PPT
Smoke Damper Presentantion
PDF
Ventilācijas gaisa daudzuma noteikšana pēc LVS EN 16798-1:2021
PPTX
Funciones
PPTX
Clean code
PPTX
Clean code chpt_1
PPTX
Writing Clean Code
PPTX
How have we developed product without bugs
Herramientas Scrum
Smoke Damper Presentantion
Ventilācijas gaisa daudzuma noteikšana pēc LVS EN 16798-1:2021
Funciones
Clean code
Clean code chpt_1
Writing Clean Code
How have we developed product without bugs

Similar to Clean Code, Resumen Capítulo 1. (20)

PPTX
Clean Code Software Engineering
PPTX
Clean Code Pt I
PDF
Software quality
PDF
WordCamp Nashville: Clean Code for WordPress
PDF
Codigo limpio1Codigo limpio1Codigo limpio1
PDF
Writing clean and maintainable code
PDF
From keyboard to production
PDF
YAGNI Principle and Clean Code
PDF
Scottish Ruby Conference 2014
PDF
Let the Elephants Leave the Room: Tips for Making Development Life Leaner by ...
PPTX
Crafting Great Code
PDF
Quick Intro to Clean Coding
PPTX
Robert martin
PPT
Code Quality
PDF
Codemotion Berlin 2015 recap
PPTX
Is your code SOLID enough?
ODP
Simplicitylesscode
PPTX
Quality rails coding
PPTX
You cant be agile if your code sucks
PPTX
How to hire a hacker
Clean Code Software Engineering
Clean Code Pt I
Software quality
WordCamp Nashville: Clean Code for WordPress
Codigo limpio1Codigo limpio1Codigo limpio1
Writing clean and maintainable code
From keyboard to production
YAGNI Principle and Clean Code
Scottish Ruby Conference 2014
Let the Elephants Leave the Room: Tips for Making Development Life Leaner by ...
Crafting Great Code
Quick Intro to Clean Coding
Robert martin
Code Quality
Codemotion Berlin 2015 recap
Is your code SOLID enough?
Simplicitylesscode
Quality rails coding
You cant be agile if your code sucks
How to hire a hacker
Ad

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
System and Network Administraation Chapter 3
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Nekopoi APK 2025 free lastest update
PDF
medical staffing services at VALiNTRY
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Digital Strategies for Manufacturing Companies
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
System and Network Administraation Chapter 3
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Why Generative AI is the Future of Content, Code & Creativity?
Operating system designcfffgfgggggggvggggggggg
Nekopoi APK 2025 free lastest update
medical staffing services at VALiNTRY
Softaken Excel to vCard Converter Software.pdf
top salesforce developer skills in 2025.pdf
Odoo Companies in India – Driving Business Transformation.pdf
Understanding Forklifts - TECH EHS Solution
Design an Analysis of Algorithms II-SECS-1021-03
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Navsoft: AI-Powered Business Solutions & Custom Software Development
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Digital Strategies for Manufacturing Companies
wealthsignaloriginal-com-DS-text-... (1).pdf
Ad

Clean Code, Resumen Capítulo 1.

  • 1. CLEAN CODE ROBERT C. MARTIN Francisco Arley López Espinosa Gestión de Calidad de Software Universidad Pontificia Bolivariana
  • 2. CAPÍTULO 1  Habrá código  Mal código  Afán  Después = nunca  Costo del desorden  Productividad tiende a 0  Rediseño  Mucho tiempo  Actitud  Ser profesional, decir NO
  • 3. CAPÍTULO 1  Enigma fundamental  La única manera de ir rápido es ir en orden  El arte del código limpio  Es fácil de reconocer, pero no de hacer  Somos autores  Y tenemos lectores  Fácil de leer es más fácil de escribir  Regla del Boy Scout  Dejar el campamento más limpio de lo que lo encontraste
  • 5. ¿Qué es código limpio? Bjarne Stroustrup “I like my code to be elegant and efficient. The logic should be straightforward to make it hard for bugs to hide, the dependencies minimal to ease maintenance, error handling complete according to an articulated strategy, and performance close to optimal so as not to tempt people to make the code messy with unprincipled optimizations. Clean code does one thing well.”
  • 6. ¿Qué es código limpio? Grady Booch “Clean code is simple and direct. Clean code reads like well- written prose. Clean code never obscures the designer’s intent but rather is full of crisp abstractions and straightforward lines of control.”
  • 7. ¿Qué es código limpio? Dave Thomas “Clean code can be read, and enhanced by a developer other than its original author. It has unit and acceptance tests. It has meaningful names. It provides one way rather than many ways for doing one thing. It has minimal dependencies, which are explicitly defined, and provides a clear and minimal API. Code should be literate since depending on the language, not all necessary information can be expressed clearly in code alone.”
  • 8. ¿Qué es código limpio? Michael Feathers “I could list all of the qualities that I notice in clean code, but there is one overarching quality that leads to all of them. Clean code always looks like it was written by someone who cares. There is nothing obvious that you can do to make it better. All of those things were thought about by the code’s author, and if you try to imagine improvements, you’re led back to where you are, sitting in appreciation of the code someone left for you— code left by someone who cares deeply about the craft.”
  • 9. ¿Qué es código limpio? Ron Jeffries “In recent years I begin, and nearly end, with Beck’s rules of simple code. In priority order, simple code:  Runs all the tests;  Contains no duplication;  Expresses all the design ideas that are in the system;  Minimizes the number of entities such as classes, methods, functions, and the like.”
  • 10. KEEPING YOUR CODE CLEAN IS NOT JUST COST EFFECTIVE; IT’S A MATTER OF PROFESSIONAL SURVIVAL
  • 11. Bibliografía  Martin, Robert Cecil (2009). Clean code: a handbook of agile software craftsmanship. Upper Saddle River, NJ: Prentice Hall