Java, Architecture, Clean Code, Solid, Programming.
are the drawbacks of having the hasExtraAccess method in the User class? It leads to confusion about subscription types across the program. Besides the User class, other classes like MediaLibrary and Player might also make decisions based on this data. Each class interprets the subscription type