Learn how to write readable, understandable and therefore maintainable code - step by step, in an example-driven wayWatch Promo Enroll in Course
As a developer, you should be able to write code which works - of course!
Unfortunately, a lot of developers write bad code nonetheless - even though the code works. Because "working code" is not the same as "clean code"!
This course teaches you how to write clean code - code which is easy to read and understand by humans, not just computers!
In this course, you'll learn what exactly clean code is and, more importantly, how you can write clean code. Because if your code is written in a clean way, it's easier to read and understand and therefore easier to maintain.
Because it's NOT just the computer who needs to understand your code - your colleagues and your future self needs to be able to understand it as well!
In this course, we'll dive into all the main "pain points" related to clean code (or bad code - depending on how you look at it) and you will not just learn what makes up bad code but of course also how to turn it 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 course is a compilation of common patterns, best practices, principles and rules related to writing clean code.
In this course, you'll learn about a broad variety of concepts, rules, ideas, thoughts and principles and by the end of 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 course, and you don't just learn a bunch of theory which you forget soon after, there also are plenty of challenges for you to apply what you learned!
PreviewWelcome to the Course! (2:27)
PreviewWhat is "Clean Code"? (5:57)
PreviewClean Code - Key Pain Points & How To Write Clean Code (3:31)
PreviewHow Is This Course Structured? (1:22)
PreviewCourse Prerequisites (3:16)
PreviewClean Code & Strongly Typed Languages (2:31)
PreviewAbout The Course Code Examples (2:04)
PreviewFunctional, OOP, Procedural: The Course Concepts Always Apply! (1:29)
PreviewClean Code, Principles & Patterns & Clean Architecture (3:17)
PreviewClean Code vs Quick Code (5:01)
PreviewModule & Course Resources
StartThe Academind Pro Referral Program
StartModule Introduction (1:01)
StartWhy Good Names Matter (3:23)
StartChoosing Good Names (4:03)
StartCasing Conventions & Programming Languages (3:07)
StartNaming Variables & Properties - Theory (3:48)
StartNaming Variables & Properties - Examples (4:44)
StartNaming Functions & Methods - Theory (2:36)
StartNaming Functions & Methods - Examples (3:10)
StartNaming Classes - Theory (1:56)
StartNaming Classes - Examples (2:34)
StartExceptions You Should Be Aware Of (6:24)
StartCommon Errors & Pitfalls (7:50)
StartDemo Time! (10:29)
StartYour Challenge - Problem (1:11)
StartYour Challenge - Solution (10:01)
StartModule Introduction (1:06)
StartBad Comments (3:52)
StartGood Comments (3:50)
StartWhat is "Code Formatting" Really About? (2:26)
StartVertical Formatting (8:03)
StartFormatting: Language-specific Considerations (2:03)
StartHorizontal Formatting (3:36)
StartYour Challenge - Problem (1:01)
StartYour Challenge - Solution (6:19)
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
All pre-requisites are covered by courses in our "Academind Pro" Membership.
30 Day Money Back Guarantee - No Questions Asked!
Our courses helped thousands of students learn something new and improve their lives.
We're so convinced by our course quality that we guarantee your success and provide a full refund within the first 30 days if you're not happy with the course.
As a self-taught professional I really know the hard parts and the difficult topics when learning new or improving on already-known languages. This background and experience enable me to focus on the most relevant key concepts and topics. My track record of many 5-star rated courses, more than 1,500,000 students worldwide as well as a successful YouTube channel is the best proof for that.
The most rewarding experience for me is to see how people find new, better jobs, build awesome web applications, work on amazing projects or simply enjoy their hobby with the help of my content.
That's why, together with Manuel Lorenz, I founded Academind to offer the best possible learning experience and to share the pleasure of learning with our students.
Frequently Asked Questions
Join 7457 happy students!
Full access to "Clean Code"
Access to this course only.
This is a one-time payment that grants access to this course only, not to any other courses.
Academind Pro Membership
Unlimited access to this and all other current & future courses!
This is a recurring payment, charged automatically on a monthly basis. You can cancel anytime from inside your user profile to avoid being charged again once your billing cycle ends. For more information, please contact Academind.