Clean Code course C++

Ebit Systems Hochschule Esslingen Liebherr Versicherungskammer Smart Commerce BMW Bundesagentur für Arbeit Turck

Clean Code C++ course: practical course for programmers and advanced

Looking to take your programming skills to the next level? Want to learn how to write clean code and create tests in C++? Then this course is perfect for you. Find out more about our C++ course on Clean Code and Testing here.

All courses live

In the Academy or online

Your benefits at a glance

  • Lots of practice and immediately applicable knowledge for your projects

  • Certificate for active participation

  • Small groups with max. 8 participants

  • Your trainers are experts with years of teaching and industry experience

  • Comprehensive learning materials

  • Compact, lively, and sustainable

What do you learn?

  • Learn how to write clean code that is easy to read and understand
  • Create tests to improve the code quality
  • Understand the principles of Test-Driven Development (TDD)
  • Ensure that your code is error-free

Content

The course covers a selection of the following topics:

  • What is Clean Code?
  • Naming conventions and why they are important
  • Writing understandable functions
  • Comments and documentation
  • Error handling
  • Test-Driven Development (TDD)
  • Testing with Catch2
  • Writing good unit tests and doctests

Prerequisite

This course is designed for individuals who already have experience with C++ and want to take their programming skills to the next level. If you have little to no programming experience, then the "C++ Fundamentals Course" is the right course for you!

Description

This course provides an introduction to Clean Code and effective testing in C++. You will learn how to write clean code that is easy to read and understand. We will show you how to structure your code in a way that is easily comprehensible by both yourself and your colleagues. You will learn how to create tests that help you develop faster and improve the quality of your code. Additionally, you will gain an understanding of the principles of Test-Driven Development (TDD) and how to apply it to ensure that your code is error-free.

Schedule

We will begin with a discussion on what Clean Code is and why it is important. Then, we will focus on a simple yet crucial topic: How to name variables, functions, and classes effectively. We will explore that it is not just a matter of aesthetics but also greatly influences code readability and comprehensibility.

Next, we will delve into writing understandable functions. We will address questions such as the ideal size of functions, the number of arguments they should have, and the extent of responsibilities a function should undertake. Additionally, we will provide concrete tips on how to structure functions correctly while offering guidance on improving existing ones.

Following that, we will explore comments and documentation. We will highlight that comments are not solely about aesthetics but also significantly impact code readability and comprehensibility. However, excessive comments with minimal substance can be as detrimental as inadequate comments. Therefore, we will provide advice on what types of comments are meaningful and which ones are not.

An important aspect of clean code is error handling. We will discuss exceptions and how they allow us to keep the "happy path" of our code simple and clear, without compromising on proper and comprehensive error handling.

Good development practices make it easier to write clean code. We will show you how to apply Test-Driven Development (TDD) and rapid iterations to drive the design of your code with tests, resulting in well-structured and tested code.

You may have come across code that had many tests but did not actually improve the code quality and, in fact, made refactoring more challenging. Therefore, you will learn principles for writing good unit tests that allow you to increase the quality of your code without negatively impacting your productivity.

The coverage of these topics will depend on our progress, which may vary depending on the participants' prior knowledge. The pace may be slightly faster or slower accordingly. The more homogeneous the group, the greater the benefit for all participants. Therefore, we limit our courses to a maximum of 8 individuals with similar levels of expertise!

Certificate

Of course, as a participant in the C++ Clean Code and Clean Test course, you will receive a certificate. The prerequisite for this is complete participation in all course units and programming tasks.

Where do we go from here?

If you are interested in learning how to write "good" software - software that is easy to maintain and extend, and that you can rely on to function as intended - our course, C++ Clean Software Architecture, is the right choice for you. In this course, you will learn various techniques to enhance the quality of your software.

We are excited to welcome you to this course and future courses at the Coding Academy!

Course formats

3-day on-site course

The course takes place in our modern and top-equipped training rooms. We provide each participant with a modern laptop during the training. Drinks are provided by the Coding Academy. Access to the material will be provided at the latest on the first day of the course

3-day online course
The course takes place online. You only need a computer with Internet access; however, for some courses it is necessary to install the software used; this is specified in the description of the respective course. Access to the material will be provided at the latest on the first day of the course.

4-week program

A new and innovative learning concept. More information about the 4 weeks program can be found here.

YOUR TRAINERS

The C++ Clean Code and Clean Test course is conducted by one of the following trainers:

Dr. Matthias Hölzl
Dr. Matthias Hölzl

Expert: Python, C++, Clean Code, Unit Test, Clean Design

Dr. Stefan Behnel
Dr. Stefan Behnel

Expert: Python, Pytest, Clean Code, Fast Python, Cython

Dr. Max Meier
Dr. Max Meier

Expert: .NET/C#, Software Architecture, Microservice

Customer testimonial

We thank our customers for their trust

When our employees ask me about training courses in the field of coding and clean code, there is now only one contact name and that is of course you: the Munich Coding Academy! In your courses you have scored with a super performance and great commun...

Show full testimonial

Herr Tim Stuckmann,
VW

Astrid Elbe 02 lrg web

My joint projects with the Coding Academy have been very successful and absolutely reliable. The course catalog includes the programming languages that are currently most relevant in companies. The courses on improving software quality and productivi...

Show full testimonial

Dr. Astrid Elbe,
Vice President Aviat Networks und ehemalige Managing Director Intel Labs Europe

Request