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

Extract helper classes from BSFormatter #3244

Merged
merged 2 commits into from Sep 12, 2019

Conversation

bodymindarts
Copy link

@bodymindarts bodymindarts commented Sep 11, 2019

Next step in removing BSFormatter. Here I extract 2 classes.

DisplayUtils which lives in the desktop project and has all methods that are only used in desktop. This is to reduce the number of dependencies going from desktop -> core.

ParsingUtils which has all the parsing related methods (ie is not formatting).

Link to tracking issue #3240

Justin Carter added 2 commits September 11, 2019 15:58
All methods that are only used in the desktop project are removed from
BSFormatter to DisplayUtils. This reduces the entanglement between the desktop and core
project by reducing the surface area of the coupling.
Parsing and formatting are 2 different concerns, its better to have 2
classes that handle these.
Copy link
Member

@freimair freimair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants