Why NSOrderedSet Doesn’t Inherit From NSSet
Tom Dalling: There was an interesting question on StackOverflow this morning: Why doesn’t NSOrderedSet inherit from NSSet? It’s interesting because the reason is so easy to miss. I thought it would make a good blog post because it turned out to be a nice, real-life example of the Liskov substitution principle (herein abbreviated to LSP). … Continue reading Why NSOrderedSet Doesn’t Inherit From NSSet
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed