Maxime F.
Oct 3, 2022

--

I think you use enum on another level here that freaks me out... Enumeration should be used to enumerate values, it is not a class, an entity or anything else to have business rules and I won't mention the fact that it is not easily testable with that "hidden" SharedPref dependency

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Maxime F.
Maxime F.

Responses (1)

Write a response