Answer the question
In order to leave comments, you need to log in
Lack of methods on entities == bad design?
I am writing a simple code, it turned out that the entity has only fields with data, and everything else - create \ delete \ edit moved to the application logic.
Is this phenomenon normal?
Answer the question
In order to leave comments, you need to log in
Data fields are called data structures.
Fields with data and methods for working with this data are called classes/objects.
All.
more than that, here is an article that describes these concepts well
https://habr.com/ru/post/268371/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question