Code Refactoring for C++
Our training focuses on the approaches and methods for improving source code readability in C++. During it you will have the chance to practice refactoring small programs, focusing on various aspects of improving the existing code.
24 hours
Online
English
DEV-006_C++
Code Refactoring for C++
Sign Up
Duration
24 hours
Location
Online
Language
English
Code
DEV-006_C++
Schedule and prices
€ 410
Training for 7-8 or more people? Customize trainings for your specific needs
Code Refactoring for C++
Sign Up
Duration
24 hours
Location
Online
Language
English
Code
DEV-006_C++
Schedule and prices
€ 410
Training for 7-8 or more people? Customize trainings for your specific needs

Description

Is your source code difficult to read? Do you spend a lot of time trying to understand what the developer wanted to do with a particular code fragment?

If you find yourself in these types of situations, this training will be useful for you. Youll learn about code smells, why and where they appear, and what techniques are used to remove them. We will start from simple problems in a single function and end with problems of communication between classes. We will also discuss what should and what should not be done to make your code easy to read.
After completing the course, a certificate
is issued on the Luxoft Training form

Objectives

  • Understand code smells
  • Discover best practices for improving existing code readability
  • Identify problems in C++ program code
  • Improve readability of C++ source code

Target Audience

  • C++ developers with 1 to 2 years of experience

Prerequisites

  • General basic knowledge of programming
  • Basic knowledge of script languages
  • Understanding code logic flows

Roadmap

  • Refactoring

    • Introduction
    • Notion of refactoring
    • Purpose of refactoring
    • Test-driven development
  • Code smells

    • Overview
    • Definition of code smell
    • Good design principles
    • Code smells in tests
    • Smells in databases
    • Smells in architecture
    • Smells in personnel management
  • Common problems in code

    • Organizing data
    • Fields
    • Data arrays
    • References and values
    • Code fields
    • Simplifying conditional expression
    • Simplifying method calls
    • Dealing with generalization
    • Composing methods
  • Smells inside class

    • Easily discovered problems
    • Names
    • Excessive complexity
    • Duplication
    • Conditional logic
  • Moving feature between objects

    • Single responsibility principle
    • Cohesion
    • The Law of Demeter
    • Moving methods/fields
    • Extract class
    • Inline class
    • Hiding delegates
    • Remove middle man
  • Problems in communication between classes

    • Data
    • Inheritance
    • Responsibility
    • Adopting changes
    • Library classes
  • Show Entire Program
Schedule and prices
View:
Register for the next course
Registering in advance ensures you have priority. Well notify you when we schedule the next course on this topic
+
Courses you may be interested in
Programming with C++
C++ is particularly challenging because it is a multi-paradigm, general purpose language, which strives to be efficient, not easy to learn. But our training will help you learn how to develop software with this flexible and popular programming language.
C-003
40 hours
Sign Up
Design Patterns for Java (GoF)
Our course covers 23 basic patterns that are generally considered to be the foundation for all other patterns. During the course participants will have the opportunity to practice these patterns with the help of case studies and exercises.
Python Basics
This Python training course leads the students from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, error handling, system and network programming and the use of the extensive functionality of Python modules.
View Catalog
Your benefits
Expertise
Our trainers are industry experts, involved in software development project
Live training
Facilitated online so that you can interact with the trainer and other participants
Practice
A focus on helping you practice your new skills
Still have questions?
Connect with us
Thank you.
Your request has been received.
Thank you!
The form has been submitted successfully.