News for hackers. Stuff that matters.
Re:MVC Isn’t MVC by flatline on Monday June 19, 2023 @11:42PM (#36399453)
There is a 5000 line controller in one code base I worked on that speaks directly to this. I argued for something more modular/structured like MVVM because every bit of code where these questions arose would just end up in the controller in a grab bag of helper functions, which is exactly what happened.
Re:MVC Isn’t MVC by ozim on Tuesday June 20, 2023 @12:33AM (#36399755)
I don’t think MVVM solves 5k line in a controller issue. You can write monster code using any style, language or pattern.
Re:MVC Isn’t MVC by Marazan on Tuesday June 20, 2023 @02:42AM (#36400517)
Nothing can stop bad code but MVVM helps as it is a better mental scaffold than the "everyobne 'knows' what it is but no one can agree what it is" MVC