Types and the Zig Programming Language Posted by konsuko on Thursday August 10, 2023 @06:00PM from the matklad.github.io dept. https://matklad.github.io/2023/08/09/types-and-zig.html ( 2 comments | 3 points | on HN )
Here, it looks like Zig doesn’t allow for a way to describe the distinction.
Would it be better if the types defined by structure automatically were assigned a very ugly name isomorphic to the structure ?
https://ziglang.org/documentation/master/#typeInfo
https://ziglang.org/documentation/master/#TypeOf
https://ziglang.org/documentation/master/#Keyword-Reference