by sarreph · 3mo ago · 0 comments
I was under the impression that verbosity was something that Zig tries to reduce, but perhaps this is not emblematic of other updates to the language?
Old way to write: try writer.print("Hello {s}\n", .{"world"});
New way to write: try writer.print("Hello {s}\n", .{"world"});
And no, reducing verbosity is not a Zig thing. And there were far more important goals driving WriterGate than verbosity -- there were problems to be solved. If they could have been solved less verbosely then perhaps they would have been.
New way to write: try writer.print("Hello {s}\n", .{"world"});