3 ms·
Admittedly I read this pretty quickly, but this is just structs. The "behaviours" being modelled here were data access. Writing .name() instead of .name. You
by mrkeen 1mo ago
Admittedly I read this pretty quickly, but this is just structs.
The "behaviours" being modelled here were data access. Writing .name() instead of .name.
You can save yourself the time of manually packing these structs by writing out a constructor in full. Which the article called "automatic".
(You don't even need to write out the constructor for a struct in C99. Probably any other modern language too)
- teo_zero 1mo ago> this is just structs. Yes. And structs are just bytes. Levels of abstractions don't do anything the underlying levels don't already do, they just give you means to express your intent in a clearer form.