←back to thread

517 points bkolobara | 3 comments | | HN request time: 0.02s | source
Show context
veber-alex ◴[] No.45042068[source]
I find the Zig example to be shocking.

It's just so brittle. How can anyone think this is a good idea?

replies(5): >>45042182 #>>45042784 #>>45043157 #>>45045393 #>>45046983 #
1. zparky ◴[] No.45042182[source]
I didn't even see the error after the first glance until I read your comment.
replies(2): >>45042277 #>>45043125 #
2. veber-alex ◴[] No.45042277[source]
Yeah, I had to do a double take while reading the article because I missed the error completely while looking at the code.
3. WD-42 ◴[] No.45043125[source]
I saw this comment first and then read the zig and still couldn’t find the error until I read the explanation below it. This has to be a bug.