4 ms·
> Methods are just a limited special case of functions. Also, there are various different semantics that are used in function application. Your view of function
by mercurial 13y ago
> Methods are just a limited special case of functions. Also, there are various different semantics that are used in function application. Your view of function application is rather limited, you might want to study e.g. how functions are applied in Haskell (type classes)
Well, sure. On the other hand, if you had receivers for record accessors, you wouldn't end up with the ugly prefixing necessary in Haskell.