Comment by mort96
12 days ago
Why would I think that structs are objects?
I'm using "object" as it is commonly used; essentially a value. In e.g Java or C or C++, the struct/class is a type, and an instance of the struct/class is an object.
Accessing an object's members is a different operation from looking up a symbol in a namespace. Even in Zig.
No comments yet
Contribute on Hacker News ↗