Y
Hacker News
new
|
ask
|
show
|
jobs
by
frou_dh
4703 days ago
Cool, I like that. In some ways, it would be nice if there were a friendly alias for struct{} as part of the language, but I suppose it's hard to come up with a good general name for that.
1 comments
lmm
4703 days ago
Many languages call it unit or ().
link
frou_dh
4703 days ago
Hah, I was just about to edit my comment to mention unit after doing some reading :)
link