3 ms·
I must have missed the MVVM hate; what happened? I've been using the MVVM pattern fine for a while now without any major problems.
by dimgl 11y ago
I must have missed the MVVM hate; what happened? I've been using the MVVM pattern fine for a while now without any major problems.
- _3u10 11y agoIt's from the same people who do MVC wrong leading to 450 line view controllers, thus hailing MVVM which lets them shove 400 lines into another class. MVVM and MVC work well if you're doing it right, which most people aren't. We've all seen the code where they started with MVC and made a bigger mess moving to MVVM because they didn't do MVC right in the first place. My rule of thumb is to grep for .tag, if you see more than one or two references to view.tag the code is totally fucked. If you see switch(view.tag) just run.