| ▲ | slopinthebag 2 days ago | |
That's a hack, not an interface lol | ||
| ▲ | lukaslalinsky 12 hours ago | parent | next [-] | |
You would be terrified if you realized how the whole C-based GNOME/GTK ecosystem works :) | ||
| ▲ | spiffyk 2 days ago | parent | prev | next [-] | |
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 2 days ago | parent | prev [-] | |
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. | ||