5 ms·
Yeah I know I need follow the best practices. I have started writing tests for the next update. But do you recommend TDD for iOS development?
by nikant 11y ago
Yeah I know I need follow the best practices. I have started writing tests for the next update. But do you recommend TDD for iOS development?
- melloclello 11y agoDevil's advocate: I feel like TDD for iOS is a bit of a wasteland, and don't usually bother with it personally, unless there's some especially dense mission-critical business logic that I need to be 100% confident in.
- ninjakeyboard 11y agoIt's not simply best practice - it's necessary to maintain your code.
- rimantas 11y agoIt is not. There are heaps of code with test which is unmaintainable and heaps of elegant code without test in sight which is easy to maintain. Cargo culting is rarely the best practice.
- amorphid 11y agoIf you wanna get a lot better, try writing your own testing framework. I wrote a BDD style testing library for Androod when I first started learning Java, and that helped me understand how to write good code for Android platform.