Introduction to Protocol Oriented Programming in Swift
Bob Lee
1.3K23

Interesting. I can see the benefits of making use protocols instead of inheritance. Totally agree that inheritance is not a quite modern pattern in today lean approach, as things always change.

However would doubt to use struct instead of class. Sometimes we would still like to keep modify and referencing the same object in different places. Anyway will try to adopt it and get a feel about it.

Thanks for the sharing. Keep writing, that’s good.

Like what you read? Give Tony Fung Choi Fung a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.