Code Excellence for the Average Programmer
- 1. Code Excellence
for the
Average Programmer
By Llewellyn Falco & Woody Zuill
- 9. Never be more than 2 minutes away
from checking in and going home
- 23. Removing Clutter
Definition : Clutter is anything in your code that does
not add value.
Format your code
Delete comments
Delete dead code
Delete unnecessary code
- 38. Removing Complexity
Bad Names
Long Methods
Deep Conditionals (if/for/while/switch)
Magic Numbers
Improper Variable Scoping
- 39. Removing Complexity
Bad Names
Long Methods
Deep Conditionals (if/for/while/switch)
Magic Numbers
Improper Variable Scoping
Missing Encapsulation
- 40. Removing Complexity
Bad Names
Long Methods
Deep Conditionals (if/for/while/switch)
Magic Numbers
Improper Variable Scoping
Missing Encapsulation
Obscure Code Blocks
- 43. Removing Cleverness
“If it’s simple and elegant, you wouldn’t refer to it
as ‘clever’”
Cryptic Code
Abbreviated Code
- 44. Removing Cleverness
“If it’s simple and elegant, you wouldn’t refer to it
as ‘clever’”
Cryptic Code
Abbreviated Code
Hijacking a Method(changing its intent for your
own purposes)
- 48. ... and the 3 D’s
Duplication
Duplication
Duplication
- 49. Our code base is just
a big mess, and no
one is happy working
in it.
- 58. What we offer
• Day Classes on site
•Single day class to educate & train employees
on a single aspect of agile
- 59. What we offer
• Day Classes on site
•Single day class to educate & train employees
on a single aspect of agile
• On site Coaching
•Minimum 2 weeks working on site with
employees on their stuff.
•Training/Mentoring
•Setup of framework
•Source Control
•Automated Builds
•Continuous integration
•Work environment
- 61. Contact
Woody Zuill
wzuill@yahoo.com
Llewellyn Falco
info@spunlabs.com