abstraction
- 7 posts
- Latest: 13 Aug 2024
How to unlock code flexibility applying S.O.L.I.D. Open-Closed Principle?
The Open-Closed Principle (OCP) teaches us how to create software that doesn’t need to be changed to extend its functionality. But can this really be achieved? Are there cases where disregarding the OCP might be beneficial?
More posts tagged #abstraction
7 of 7-

When is Single Responsibility Principle helping us write better code?
The Single Responsibility Principle (SRP) is a tenet of S.O.L.I.D. Following it is advertised and a quickest way to create high-quality code. However, are there situations where disregarding the SRP might be beneficial?
-

Why mobile apps need a good abstraction?
It seems an obvious choice to favour abstraction over an actual implementation. But what about extra maintenance costs? What do we need abstractions for anyway?
-

How to test UIKit & SwiftUI views? Explained with memes.
Is there a way to reliably test the UI layer? Can we test our SwiftUI & UIKit views without triggering backend or real data sources? Yes! Say hello to Snapshot Tests!
-

How to implement universal networking module in Swift (pt.1)
What is the first service we usually implement in an iOS app? Networking! Have you ever tried to implement your own client and open-sourcing it?
-

Why should you KISS your SwiftUI views? Explained with memes
How many responsibilities do the views in your iOS app handle? Are they reusable and testable? Simplify your UI by applying the KISS principle 🚀
-

How to implement app analytics the right way
Implementing another iOS app analytics framework makes you wanna cry 😭 ? See how you could add or remove analytical frameworks at will!

Clean Code Playbook
Everything this blog preaches, boiled down to 32 one-page rules. Free for newsletter subscribers.