|
|
|
|
|
by throwawaymaths
1178 days ago
|
|
I work in a language where all fields are public and it is indispensable in debugging things. You DO NOT want your datatypes hiding things under the hood. At best, if zig does want to make fields private, they should still be visible, but the compiler should disallow writing to them. |
|
Can you offer some examples of times when it has been indispensable, so that I can understand when this is useful?