Back

Clean Code

Anyone can write code a computer can understand, but professional developers write code *humans* can understand. Clean code is a reader-focused development style that produces software that’s easy to write, read and maintain. This Clean Code workshop alternates between lectures and exercises so that you can experience, first-hand, the practices and disciplines of the following topics

3 days
Intermediate
Virtual/Classroom
Objective
  • Professionalism, Craftsmanship, and Clean Code
  • Choosing Meaningful Names
  • Writing Clean Functions
  • The Proper Use of Comments
  • Coding Style and Formatting
  • Object-Oriented Programming vs. Procedural Programming vs functional programming
  • Error Handling Boundaries between Subsystems
  • Writing Clean Classes Systems
  • Plan vs. Emergence
  • Concurrency
  • Smells and Heuristics
  • Develop an attitude of professional craftsmanship
  • Tell the difference between good and bad code
  • Create & write good code & transform bad code into good code
  • Create good names, good functions, good objects, and good classes
  • Format code for maximum readability
  • Implement complete error handling without obscuring code logic
  • Apply effective unit testing and refactoring techniques
  • Spot the smells in your code
  • Refactor your code using safe and fast refactoring techniques
  • Write clean code that is more readable and maintainable
  • Break long methods into smaller, more maintainable ones
  • Simplify nested / complex conditional blocks
  • Design the proper signature for your methods
  • Remove duplicated code
  • Refactor long switch/case blocks into an object-oriented design using polymorphism
Pre-Requisite
  • Object-Oriented Programming basics (inheritance; encapsulation; polymorphism; interfaces; abstract classes; virtual methods; overriding; overloading).
Target Audience
  • This course is for Java/C#/C++ developers who want to improve their ability to contribute to their company and their team by writing better code.