News for hackers. Stuff that matters.
Re:Ziglings: Learn the Zig programming language by fixing ti... by klyrs on Saturday February 13, 2021 @03:20PM (#26126430)
> You can write a function that compiles successfully, leading you to believe the function is syntactically and semantically coherent, only to find that when you add an actual call to that function, the compiler now flags errors inside that function.

This happens to me pretty frequently in C++. It won't compile with a syntax error, but if you don't call, say, a templated function, then the compiler simply can't know that the stuff you're doing inside is nonsense.

I don't consider this to be friction. I generally know what I've called, and what I haven't. I expect dark code to be bug-ridden placeholders with good intentions.

Re:Ziglings: Learn the Zig programming language by fixing ti... by lenkite on Sunday February 14, 2021 @12:28AM (#26129944)
This will be fixed with C++ 20 concepts right ?