Arc Forumnew | comments | leaders | submitlogin
1 point by Pauan 5110 days ago | link | parent

I consider it to be a part of an interface. If we're using duck typing (which I recommend), what happens when two functions define different behavior, but with the same names? All sorts of subtle bugs ensue. But by leveraging the type mechanism, we can group these differing behaviors into interfaces, avoiding the problem completely.