Re:Using Apple's Combine Framework
by ajconway on Thursday September 19, 2019 @08:23AM
(#21015475)
There is no dichotomy here, it's perfectly fine to use imperative code where it fits better.
I would not agree that using any particular technology makes code less clear. Also, I'm not sure how protocol interfaces, callback-based interfaces and reactive event sources differ in readability as they all basically provide a way to call your code at (without referring to documentation) random times.
I would not agree that using any particular technology makes code less clear. Also, I'm not sure how protocol interfaces, callback-based interfaces and reactive event sources differ in readability as they all basically provide a way to call your code at (without referring to documentation) random times.