Re:Generating a Java program with 90% less code
by cageface on Wednesday December 04, 2019 @11:38AM
(#21703705)
This is taken to a pathological degree in the VIPER architecture. Every thing is decomposed and wrapped in and interface. Unfortunately this has gained some popularity in the iOS world. It makes code so much harder to follow and maintain.
[ Parent
| on HN ]
Re:Generating a Java program with 90% less code
by dep_b on Wednesday December 04, 2019 @12:09PM
(#21704088)
Never used VIPER. MVVM with navigation flows and layout handlers works well enough.
Re:Generating a Java program with 90% less code
by cageface on Wednesday December 04, 2019 @10:23PM
(#21709704)
AppKit is pretty deeply MVC. I generally prefer to just work with the underlying APIs than try to invent a new paradigm on top of them. With VC containment I feel like I have enough abstraction power already.
Re:Generating a Java program with 90% less code
by dep_b on Thursday December 05, 2019 @06:29AM
(#21711538)
In my case the "Flows" are usually UINavigationControllers hidden behind a protocol. I tend to chop up my UI's really deeply into VC's but most of them get a VM because I like my VC's really, really small.