To preface, I work at a place that I feel misunderstands and overuses MVC, but I also recognize that maybe it's me who doesn't understand it.
I'm used the model/view exclusively within the context of UI's and storing/transforming/ and representing data intended to be displayed by UIs. In that my experience may be admittedly limited to working with Qt and other desktop UI frameworks.
In my current company - like EVERYTHING has a model/view. I'm writing some low-level API type functions in their own package intended to be called easily by users at a command line, it doesn't display or represent data, it merely runs processes, and was told I needed to convert it to model.py and view.py.
To me this seems a bit insane, and I've rarely seen anything like it anywhere I've worked or across all of the github code I've browsed over the years, but I want to know if I just completely misunderstand some broader usage for MVC outside of UI development.
Edit: For a basic example - This means that for even the most basic "hello world" application, you're expected to have:
class HelloModel(model): def hello_world(): print("Hello world") And to run it, you'd need to:
import hello_world.model model = hello_world.model.HelloModel() model.hello_world() Naturally, this gets a little more crazy the more you add to it.