Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Glavnokoman
· 5y ago · 0 comments
Type parametrization is actually done better in Zig. I wish it departed from "no implicit actions" dogma and let RAII in. It would be almost perfect...
Comments
[–]
erdeszt
5y ago
I kinda like that `defer` is very visible. Although I haven't worked on large Zig codebases so I don't know how that scales.
[–]
Glavnokoman
OP
5y ago
`defer` does not allow passing ownership so it limits your designs quite significantly.