3 ms·
I think files as struct makes lots of sense. As it doesnt have to treat files in any special way then.
by Cloudef 1y ago
I think files as struct makes lots of sense. As it doesnt have to treat files in any special way then.
- throwawaymaths 1y agoi had been dreaming about files as structs for about a two decades and Zig made it happen. i will say the struct files (files which are not a namespace struct.. that is, they have field values) are a bit weird, but at least the syntax is consistent with an implicit surrounding bracket.