I was wondering if there is an established style when defining ‘private’ struct fields? Zig doesn’t have private fields, but I would like to communicate at a glance to a programmer which fields are safe to modify directly and which ones are not.
I am using
_fieldname form right now to do this. However, it’s possible the Zig community has already settled a common alternative.