Learn how to write readable, understandable and therefore maintainable code – step by step, in an example-driven wa
What you’ll learn
- Learn how to write code that is readable and understandable
- Keep code alive by increasing maintainability with clean code
- Learn about key principles, rules, and concepts that allow you to write clean code
- Learn with hands-on examples and “bad to good code” transformations
- Basic programming knowledge (no matter which language) is required
- NO prior experience on the topic of clean code is required
- You DON’T need to know a specific programming language or paradigm
As a developer, you should be able to write code which works – of course!
Some developers write bad code, even though it works – because “working code” is not the same as “clean code”!
Our Clean Code course teaches you how to write clean code – code that can be easily understood not just by computers, but also by humans.
You’ve got to understand that the computer isn’t the only person who needs to understand your code; your colleagues and your future self have to as well!
Using the skills you learn from this Clean Code course, you will understand what clean code is and whether you can write it yourself. Clean code is a much easier way to read and understand your code, so it’s a much less complex decision to maintain it.
In this Clean Code course, we’ll cover all the main “pain points” related to clean code (or bad code – depending on how you see it) and you’ll learn how to turn bad code into clean code.
Specifically, you will learn about:
- Naming “things” (variables, properties, classes, functions, …) properly and in a clean way
- Common pitfalls and mistakes you should avoid when naming things
- Comments and that most of them are bad
- Good comments you might consider adding to your code
- Code formatting – both horizontal and vertical formatting
- Functions and how to limit the number of function parameters
- How to write clean functions by focusing on “one thing”
- How levels of abstraction help you split functions and keep them small
- How to write DRY functions and avoid unexpected side effects
- Avoiding deeply nested control structures with guards and by extracting functionality into functions
- Errors and error handling as a replacement for if-statements
- Objects & data containers/ data structures and why that differentiation could matter
- Cohesion and how to write good (small!) classes
- The Law of Demeter and why it matters for clean code
- What the SOLID principles are and why they matter when it comes to writing clean code
- Much more!
This Clean Code course is a compilation of common patterns, best practices, principles and rules related to writing clean code.
In this Clean Code course, you’ll learn about a broad variety of concepts, rules, ideas, thoughts and principles and by the end of the Clean Code course, you’ll have a good idea of what to keep in mind when it comes to writing clean code.
This is not a design patterns or general patterns course though – we will entirely focus on patterns, rules and concepts that help with writing clean code specifically.
All these concepts and rules are backed up by examples, code snippets, and demos. And to ensure that you get the most out of this Clean Code course, and you don’t just learn a bunch of theories which you forget soon after, there also are plenty of challenges for you to apply what you learned!
What are the course prerequisites?
- Basic programming knowledge (no matter which language) is required!
- You don’t need to know any specific programming language or programming paradigm to follow along
- NO prior experience with writing clean code is required
Who this course is for:
- Developers who want to ensure that their code does not just work but it also easy to read, understand and maintain
- Everyone who’s serious about development and writing real-life code
Created by Academind by Maximilian Schwarzmüller, Maximilian Schwarzmüller
Last updated 12/2020