Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Zig breaking change – initial Writergate. Parent comment
const pick_a_global_io = ...; fn needs_io(io:IO) void {...} fn doesnt_take_io() void { needs_io(pick_a_global_io); }
now, if you want to be a library writer, yeah, you have to color your functions if you don't want to be an asshole, but for the 95% use case this is not function coloring.
There are no comments on this comment yet.
now, if you want to be a library writer, yeah, you have to color your functions if you don't want to be an asshole, but for the 95% use case this is not function coloring.