logo
down
shadow

OOP QUESTIONS

Is user class responsible for authentication?
Is user class responsible for authentication?
help you fix your problem Ideally no, that should be the job of the controller. User class should be just a data class, which is used by the controller (the business logic class) to evaluate things like Authenticate etc.Explanation:
TAG : oop
Date : November 21 2020, 07:31 AM , By : Marcelo Amaral
Is a huge class ok for the sake of simplicity?
Is a huge class ok for the sake of simplicity?
seems to work fine Rather than pulling all the code into a new class, you could make a new class that itself contains no logic, but simply wraps around a Movie and exposes a large collection of methods that each call the neccesary methods on Movie an
TAG : oop
Date : November 19 2020, 01:01 AM , By : Li Zichen
shadow
Privacy Policy - Terms - Contact Us © ourworld-yourmove.org