Comment by Cloudef

1 year ago

I think files as struct makes lots of sense. As it doesnt have to treat files in any special way then.

i 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.