Skip to content

Refactor code to avoid trait usage#363

Open
MacFJA wants to merge 2 commits into
theseer:masterfrom
MacFJA:refactoring-trait
Open

Refactor code to avoid trait usage#363
MacFJA wants to merge 2 commits into
theseer:masterfrom
MacFJA:refactoring-trait

Conversation

@MacFJA

@MacFJA MacFJA commented May 11, 2019

Copy link
Copy Markdown
Contributor

Is this version better ?

It still keep the logic outside of every classes (prevent duplicate code, and ease maintainability) and shouldn't be too much overhead.

@theseer

theseer commented May 11, 2019

Copy link
Copy Markdown
Owner

Yeah, like that a lot better. I'll have a look if we can get rid of instantiating it within the object and can have it injected but otherwise looks good.

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.

2 participants