If something has only two to three states, is it overkill to use the State pattern?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
We can’t say much in your precise case, because your give too little information.
But in general …
Other expressed opinions may differ, but …
The Agile movement is gaining a lot of strengh.
They would recommend YAGNI (You Aren’t Gonna Need It).
The idea is to delay complexity until later, because :
That said, if you enjoy the idea, go for it, follow your dreams ! 🙂