3 ms·
I don't like it either, because it promotes method `b` to the global namespace. There may be many such `b` methods on different, unrelated types. I think that t
by sparkie 1y ago
I don't like it either, because it promotes method `b` to the global namespace. There may be many such `b` methods on different, unrelated types. I think that the latter should be prefixed with the typename or module name.
a.b(c) == AType.b(a, c) (or AType::b(a, c) , C++ style)
- singularity2001 1y agoIt's the other way around: in Julia b are functions which are globally visible by default and I just suggested to optionally hide them or find them via the object a.