Lately, I’ve been taking advantage of Swift’s functional abilities where it makes sense to help me write concise and clear code that’s easy to test. I’d like to share one technique that has helped me to eliminate repetition and breakages of encapsulation in tests: function .

http://www.thecodedself.com/functions-deserve-injection/



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here