Re:Zig 0.6.0 Release Notes
by zamadatix on Monday April 13, 2020 @07:40PM
(#22861391)
To be honest typing and remembering %d %f %c %s etc. seems like more hassle than typing {} and typing it for every case.
I think the real gotchas are that { is escaped as {{ and } as }} instead of \{ and \} (though it does follow from the old %%) and you must either include , .{} or rewrite the function call to something significantly different to do unformatted print.
I think the real gotchas are that { is escaped as {{ and } as }} instead of \{ and \} (though it does follow from the old %%) and you must either include , .{} or rewrite the function call to something significantly different to do unformatted print.