Re:I still like C and strongly dislike C++
by Glavnokoman on Thursday May 27, 2021 @03:25AM
(#27300331)
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...
[ Parent
| on HN ]
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.
Re:I still like C and strongly dislike C++
by Glavnokoman on Wednesday June 02, 2021 @07:51AM
(#27367577)
`defer` does not allow passing ownership so it limits your designs quite significantly.