Answer the question
In order to leave comments, you need to log in
How to choose the direction of OOP application architecture?
If you need to implement some kind of application, then which of the many ways of architecture to choose?
Even some event in this application (event) can be implemented both as a separate singleton class, and as just a field in another class, and as an enum, and as a polymorphic class for many events.
Are there practices that should be followed to make the architecture correct and simple?
Answer the question
In order to leave comments, you need to log in
and as a separate singleton class
Excuse me, you just wrote something like -
How people are treated, how they choose which medicines to give, which tests to prescribe.
This is what people study at medical universities for years, then internship, residency ...
There are probably practices.
But I don't know them.
After 20 years of experience, it all happens like this:
Well, you just imagine what is happening inside the program and understand how it should be divided into parts and into which parts and what the choice of one or another option will lead to.
You just think logically and decide.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question