News for hackers. Stuff that matters.
Re:Show HN: The C3 programming language (C alternative langu... by mort96 on Tuesday April 08, 2025 @05:20AM (#43619750)
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.

There are no comments on this comment yet.