Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
t-3
· 5mo ago · 0 comments
No structs, just an array that accomplishes the same thing, without field names or other niceties. Enjoy the pleasure of not using a struct when you inevitably add/reduce/reorder fields later.
Comments
[–]
alurm
5mo ago
Good point! Added `vec_ptr[vec]` and `vec_len[vec]` helpers to mitigate this somewhat.