Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

refactoring-senior-training

This is a project that was refactored in the Senior Developer Training in Delphi

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

alt_text


⚠️Repository Fork delphi-exemplo-sistema⚠️

Legacy Code

  • Is your code easy to change?
  • Do you get near-instant feedback when you change it?
  • Do you understand?

If your answer to these questions is "no", you have legacy code and it is consuming time and money from your development.

There are several patterns that can be applied in the refactoring of your code, and these patterns we will be applying in this project, and I believe it will help many to give more useful life to their legacy projects, more performance, more functionality, more reliability and more ability to management.

The main reason for code refactoring is to improve the maintainability of the software, as well as to make existing code easier to understand.

  • Understand the process and principles of refactoring.
  • Quickly apply convenient refactorings to make a program easier to understand and easier to change.
  • Recognize "bad smells" in code that signal opportunities to refactor.
  • Explore the refactorings, each with its own explanation, mechanism.
  • Write robust tests or your refactorings.

Refactoring

Contribution guide

Branch created to keep the previous project so that others can perform their proper refactoring tests


⚠️Warning⚠️

The project is receiving merges of the changes made on the developer branch, and in the comments of the pull requests there is a reference to each class that is being refactored.

If you want to have the project in its original state, just fork the repository in the title of this document. If the original repository for this project no longer exists, you can find it inside my own repository "Before Refactoring System".