You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(I know it's a bit late for this but i just watched the 2014 presentation and couldn't resist to "enhance" a suggestion made by someone at the end of it)
If this language will ever have interfaces, these should be implemented correctly (unlike most languages do). Declaring a class and specifying which interfaces it implements is for weaklings; anyone can do that. A really good programmer should be able to manage the opposite: the interface declaration that specifies all classes implementing that interface.
Of course, the compiler should check and the interface declaration should be considered invalid if there is any unspecified implementing class within the codebase (but under no circumstances should the compiler point to the offending class, it's the interface declaration that's wrong).
The text was updated successfully, but these errors were encountered:
(I know it's a bit late for this but i just watched the 2014 presentation and couldn't resist to "enhance" a suggestion made by someone at the end of it)
If this language will ever have interfaces, these should be implemented correctly (unlike most languages do). Declaring a class and specifying which interfaces it implements is for weaklings; anyone can do that. A really good programmer should be able to manage the opposite: the interface declaration that specifies all classes implementing that interface.
Of course, the compiler should check and the interface declaration should be considered invalid if there is any unspecified implementing class within the codebase (but under no circumstances should the compiler point to the offending class, it's the interface declaration that's wrong).
The text was updated successfully, but these errors were encountered: