OOP Polymorphism Explained: From Overriding to Protocols
Have you ever gotten confused trying to understand OOP polymorphism, from overriding to protocols, all at once?
Read articleDESIGN · 71 ARTICLES
Continue through the latest Software design articles.
All articles
Have you ever gotten confused trying to understand OOP polymorphism, from overriding to protocols, all at once?
Read articleAdapters convert interfaces, facades hide complexity, proxies control access, and decorators add behavior. This article compares four structurally similar wrapping patterns by intent and selection criteria.
Read articleAs your iOS app grows, dependency management can become a real headache.
Read articleThe Strategy pattern selects an algorithm externally, while the State pattern lets the current state drive internal transitions. These two behavioral patterns share a class structure but differ in intent and in who controls change.
Read articleWhen you build a screen that spawns lots of game effects, frames can suddenly start stuttering.
Read articleWhen building an iOS app, you eventually encounter it: one screen mixing loading, success, failure, and empty-data states.
Read articleWhen studying OOP, you hear “encapsulation” countless times, but when someone asks, “So how do you do it in code?”, you can suddenly go blank. You understand the concept, but your hands do not know what to write.
Read articleWhen building a network layer, you inevitably hit moments like this.
Read articleThere's a phrase you'll inevitably encounter while studying programming.
Read articleSwift static factory methods express creation intent through names and control return types, caching, and instance reuse. This summary covers the trade-offs of choosing static func make over init and how it differs from the GoF pattern.
Read articleWhen building an iOS app, you eventually hit a familiar roadblock.
Read articleTeams that have grown their modules into the dozens through this series eventually encounter a new kind of fatigue.
Read article