Clean Code Principles
Clean code is a term coined by 'Uncle Bob' Robert C. Martin. It refers not only to clean and readable programme code, but also to an underlying development philosophy that produces sustainable and maintainable code.
Every month we discuss a clean code principle in 45 minutes and show when and how to apply it correctly.
Learning Objectives
- You create lean and efficient solutions faster
- You write testable code that is easier to maintain
- Your higher code quality leads to lower maintenance costs
Target Audience
This course is aimed at all software developers.
The code examples are in PHP, but are also accessible to programmers who develop in other programming languages.
Requirements
Participants should have at least 1-2 years of experience in programming with PHP or a similar programming language.
Clean Code Principles 1188,- EUR 12 Credits
12 Online Sessions á 45 minutes
-
Integration Operation Segregation Principle
Duration: 45 minutes
99,- EUR
1 Credit
A clear separation of tasks and responsibilities improves software design. Today, the focus is on the division of code into integrations and operations, which is given far too little attention.
-
Favour Composition over Inheritance
Duration: 45 minutes
99,- EUR
1 Credit
Inheritance is a controversial OOP principle, as an inheritance relationship is the strongest coupling that exists in object-orientation. Today we will learn how to avoid inheritance and rely on composition instead.
-
Single Level of Abstraction
Duration: 45 minutes
99,- EUR
1 Credit
The concept of a standardised abstraction level for classes and methods is an important principle in software development that leads to better code design and increased maintainability.
-
Interface Segregation Principle
Duration: 45 minutes
99,- EUR
1 Credit
-
Dependency Inversion Principle
Duration: 45 minutes
99,- EUR
1 Credit
Dependency inversion is probably the most important SOLID principle. We explain how you can use it to reduce the dependencies between software modules in order to create flexible and maintainable systems.
-
Information Hiding Principle
Duration: 45 minutes
99,- EUR
1 Credit
The Information Hiding Principle is a fundamental concept in object-orientation that aims to hide the inner details of a module or component from other parts of the system. What does this do for us?
-
Open Closed Principle
Duration: 45 minutes
99,- EUR
1 Credit
The Open-Closed Principle (OCP) is one of the five SOLID principles of object-orientated programming. It states that code should be open for extensions but closed for modifications. But how do you do that?
-
Tell, don’t ask
Duration: 45 minutes
99,- EUR
1 Credit
The ‘Tell, Don't Ask’ principle promotes the encapsulation of data and behaviour in objects. Today, we are learning how to create objects to which we give instructions instead of asking questions.
-
Law of Demeter
Duration: 45 minutes
99,- EUR
1 Credit
Today we are learning what Greek deities and secret services have in common. Armed with this new knowledge, we reduce the coupling between software modules by restricting the interactions between objects.
-
Don't Repeat Yourself
Duration: 45 minutes
99,- EUR
1 Credit
The great book ‘The Pragmatic Programmer’ has popularised the ‘Don't Repeat Yourself’ (DRY) principle, which aims to avoid redundancy in code. Sometimes, however, you should follow the ‘Do Repeat Yourself’ principle. We explain why.
-
Keep it simple, stupid
Duration: 45 minutes
99,- EUR
1 Credit
The ‘Keep It Simple, Stupid’ (KISS) principle emphasises simplicity and clarity in engineering in order to avoid unnecessary complexity. Today we discuss why complexity in software is so problematic.
-
You Ain't Gonna Need It
Duration: 45 minutes
99,- EUR
1 Credit
The ‘You Ain't Gonna Need It’ (YAGNI) principle states that we should not add functionality to software until it is actually needed. What are the implications of this?
Your Trainer
Stefan Priebsch is an expert in clean code and maintainable software.This training for your company?
Don't want to wait from month to month to learn new clean code principles? We offer customised clean code training online or on-site at your company, where we customise the content to your needs.