2 ms·
OOP might have helped popularize usage of the dot notation, but namespaces are a different thing. Zig has no inheritance but everything is namespaced, includin
by kristoff_it 5y ago
OOP might have helped popularize usage of the dot notation, but namespaces are a different thing.
Zig has no inheritance but everything is namespaced, including declaring functions inside struct definitions so that you can use them as if they were methods.