2 ms·
> You basically need to write the equivalents of OOP getters and setters to really keep the code tidy. I thought that was the entire purpose of the bitfield, t
by nomel 5y ago
> You basically need to write the equivalents of OOP getters and setters to really keep the code tidy.
I thought that was the entire purpose of the bitfield, to give you a clean (visual and operations) way to access the field:
mybitfield.fieldname = value