Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(waypoints): split code and remove duplications #86

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

tbouffard
Copy link
Member

@tbouffard tbouffard commented Jun 8, 2021

Extract code from WayPointsComputer: remove duplications and clarify
responsibilities. This class now only does the orchestration. The waypoints
description and conversion to display model are done in dedicated classes.

Move display model domain classes to a dedicated package (clarify and remove
cyclic dependencies).

Rename some methods and classes to better express their purpose.

@tbouffard tbouffard marked this pull request as draft June 9, 2021 07:23
@tbouffard tbouffard force-pushed the refactor/split_waypoints_computer_code branch from 072dfcc to a8cac28 Compare June 9, 2021 13:29
@tbouffard tbouffard marked this pull request as ready for review June 9, 2021 13:29
@tbouffard tbouffard force-pushed the refactor/split_waypoints_computer_code branch from a8cac28 to 91520b4 Compare June 21, 2021 07:54
Extract code from WayPointsComputer: remove duplications and clarify
responsibilities. This class now only does the orchestration. The waypoints
description and conversion to display model are done in dedicated classes.

Move display model domain classes to a dedicated package (clarify and remove
cyclic dependencies).

Rename some methods and classes to better express their purpose.
@tbouffard tbouffard force-pushed the refactor/split_waypoints_computer_code branch from 91520b4 to 88f715e Compare June 21, 2021 07:59
@baptistemesta
Copy link
Contributor

I've not read everything but I get the idea. It looks more clear like that.

@baptistemesta baptistemesta merged commit a88552e into master Aug 27, 2021
@baptistemesta baptistemesta deleted the refactor/split_waypoints_computer_code branch August 27, 2021 14:14
@tbouffard tbouffard added chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) refactoring Code refactoring and removed chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants