HackerTrans
トップ新着トレンドコメント過去質問紹介求人

taurknaut

no profile record

コメント

taurknaut
·昨年·議論
Yup, that's a failed language.
taurknaut
·昨年·議論
Nah, I just tried and it works fine.
taurknaut
·昨年·議論
You can also attach them to each others bits and make them fight at the end of the job. Waste of money? Yes. A massive amount of fun for the boys? Absolutely.
taurknaut
·昨年·議論
I loved this deep-dive of zig.

> There’s a catch, though. Unlike Rust, ErrorType is global to your whole program, and is nominally typed.

What does "global to your whole program" mean? I'd expect types to be available to the whole compilation unit. I'm also weirded out by the fact that zig has a distinct error type. Why? Why not represent errors as normal records?