News for hackers. Stuff that matters.
Re:Focus: A simple and fast text editor written in Jai by alwaysbeconsing on Sunday September 03, 2023 @12:57PM (#37371945)
They seem to be specifically referring to the compiler error (as in, prevents compilation) for unused local variables. See discussion here: https://github.com/ziglang/zig/issues/335#issuecomment-10011...
Re:Focus: A simple and fast text editor written in Jai by Modified3019 on Sunday September 03, 2023 @03:11PM (#37373358)
Yeesh, that's good to know. With the dev response basically doubling down on ideology and ignoring reasonable protest, that's definitely an ecosystem to not sink time into.
Re:Focus: A simple and fast text editor written in Jai by Gibbon1 on Sunday September 03, 2023 @07:09PM (#37375499)
My thought about unused variable is the compiler should assume someones trying to debug something and not optimize them out.
Re:Focus: A simple and fast text editor written in Jai by ngrilly on Sunday September 03, 2023 @03:28PM (#37373516)
You're right. I read too fast. Coming from Go, I'm used to errors on unused local variables, and like that Zig does the same.