Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
slopinthebag
· 7mo ago · 0 comments
That's a hack, not an interface lol
Comments
[–]
lukaslalinsky
7mo ago
You would be terrified if you realized how the whole C-based GNOME/GTK ecosystem works :)
[–]
spiffyk
7mo ago
How is it a hack? I mean, you may not like the fact that Zig does not provide syntax sugar for interfaces, but how exactly do you think they are implemented in languages that do?
[–]
pjmlp
7mo ago
As plenty of other things in an "everything is explicit" language, whose goal is to be a safer C and nothing else.
The "module" system is another hack.