Re:Low-Level Optimization with Zig
by Galanwe on Sunday June 08, 2025 @12:18PM
(#44217873)
> You cannot reasonably form API contracts (which are the foundation of software modularity) unless you can hide the internal representation
Python is a good counter example IMHO, the simple convention of having private fields prefixed with _/__ is enough of a deterrent, you don't need language support.
Python is a good counter example IMHO, the simple convention of having private fields prefixed with _/__ is enough of a deterrent, you don't need language support.