Swift Instance Methods Can Shadow Functions

Dan Wineman (via Twitter): Swift allows you to call instance methods from other instance methods with no scope prefix, indistinguishably from function calls. This leads to the dangerous situation of function calls being shadowed when identically-named instance methods are added to a base class. This seems like a really bad idea. In other areas, Swift … Continue reading Swift Instance Methods Can Shadow Functions