3 ms·
Zig allows default values in the struct declaration which eases the pain quite a bit (while still making it impossible to forget initializing items).
by flohofwoe 2y ago
Zig allows default values in the struct declaration which eases the pain quite a bit (while still making it impossible to forget initializing items).
- fallingsquirrel 2y agoFunny you should say that. I don't find it painful at all, I prefer the explicitness. I just wanted to relay my experience without unnecessarily bundling my opinion, since this is a thread about Odin after all.