Surgical Refactoring of C++ Legacy Code

Refactor and test your existing code, no matter how complex it is

Is your code difficult to change? Are you afraid to change code in your codebase? Have you looked for some methods to make this change safer and faster, but they are overwhelming? Join this learning program to understand a refactoring method on legacy code that has surgical precision and that you can learn faster than the others.

There are many methods of refactoring code: start with tests, use the existing tests, separate incrementally the old code from the new one, but all of them have an issue: you need a lot of knowledge and skills about software automatic testing and software design.

Surgical refactoring comes with a simpler approach, with a mechanical structure, designed for precision. You are faster, as you can change just one small part of your code, in safety, without introducing defects.

Why Attend

Get insights from watching hours of commented live coding, learn the fundamental techniques you need to know, and practice on your own code base or on learning code bases.

Feedback from your experienced trainers, inspired by their wide experience as practitioners building products, will help you get the most out of the practice sessions.

Also, learn a method that you can apply for safe modification of code that is either not tested or has bad tests, and that is difficult to change:

  • Understand the fundamentals of the method and why it works so effectively
  • Learn and practice the micro-techniques involved
  • Get insights from hours of live refactoring commented by the trainer
  • Apply on a codebase, and get feedback from the trainer on your technique

Who Should Attend

This learning program is for C++ Developers, as all the code backing it up is written in C++.

Practical Details

  • Language: English
  • Experiential, hands-on, interactive online learning with practical examples
  • Participants will be awarded a Mozaic Works certificate of completion

This Learning Program is Available on Demand

    Agenda

    Fundamentals of Surgical Refactoring

    • The three steps of surgical refactoring
    • Comparison with other methods for refactoring legacy code
    • The three steps explained

    Safely Refactor Existing Code to Pure Functions

    • The benefits of pure functions
    • Refactoring Steps
    • Commented Example

    Write Data-Driven Tests on the Pure Functions

    • The notion of Data-Driven Tests
    • How Data-Driven Tests are a Perfect Fit for Pure Functions
    • Commented Example

    Refactor Pure Functions to Classes

    • The Equivalence Between Pure Functions and Classes
    • Noticing Duplication in Pure Functions and Using It to Create Classes
    • Refactoring Steps
    • Commented Example

    What’s Next?

    More details and full agenda here

    Meet Your Trainers

    Alex Bolboaca

    CTO, Senior Trainer at Mozaic Works

    With over 20 years of international experience in the world of software and technology, Alexandru shares about himself: Being deeply passionate about technology creation I am a continuous learner in the field. Between reading, trying out technologies and multiple programming languages, presenting and participating to developer communities and conferences, I have learned enough to write two books and teach hundreds of developers. I love working with smart people who want to get better at what they do, whether it’s team work, communication, management or technical skills. I offer you my passion, my experience and my capacity to adapt to your needs. About Alex Over 20-years experience in software development, technology and transformations fields Polyglot programmer who uses modern development practices in C/C++,…

    More about Alex Bolboaca >
    0
      0
      Your Cart
      Your cart is empty
        Apply Coupon
        Available Coupons
        individualcspo102022 Get 87.00 off
        Unavailable Coupons
        aniscppeurope2022 Get 20.00 off
        Scroll to Top