News for hackers. Stuff that matters.
Re:Swift Protocol Oriented Programming and Testing by 3grdlurker on Friday July 30, 2021 @03:40PM (#28011547)
Well I also used to make giant controllers when I was a beginner. That’s why you can pretty much “spaghetti with any pattern”.

Over time I realized that I can just create dedicated controllers or handlers or managers or services with more specific and limited functionality, and then my VCs simply dispatch to those. It’s called composition.

There are no comments on this comment yet.