News for hackers. Stuff that matters.
Re:Swift: When Unused Code Is a Bug by bsaul on Sunday August 05, 2018 @06:58PM (#17694034)
You may not be familiar with swift but a protocol isn’t necessarily a class. Structs ( so, value type) can also implements a protocol, and so in effect you can not tell a lot about what you’re manipulating, beyond what’s declared at the protocol level.
Re:Swift: When Unused Code Is a Bug by mpweiher on Sunday August 05, 2018 @07:52PM (#17694226)
From TFA:

   class BaseGreeter: Greeter {}

   class LazyGreeter: BaseGreeter {