Protocol Oriented Programming …. neat example

I found this excellent writeup¬†to help bend your mind around going from a strict OOP mindset to POP and the use of value types. This is Apple’s emphasis in Swift as it reduces the potential for nasty bugs introduced by over-reliance on mutable, multi-owner reference types. He puts together a concise, real world example that’s easy to understand.

http://krakendev.io/blog/subclassing-can-suck-and-heres-why

This entry was posted in iOS, Software Development. Bookmark the permalink.

Comments are closed.