3 ms·
In languages that have UFCS, there's no such thing as classes, so… you simply look for the procedure.
by xigoi 4y ago
In languages that have UFCS, there's no such thing as classes, so… you simply look for the procedure.
- tsimionescu 4y agoD certainly has classes, and a member function has access to private members, while a free-floating function does not. Nim indeed doesn't seem to have this distinction at all, and only seems to support encapsulation at the module level, not the class level (as far as I could tell from very brief searching - I have never programmed in it).