3 ms·
It'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
by _3u10 11y ago
It'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.