News for hackers. Stuff that matters.
Re:I Want Off Mr. Golang's Wild Ride by gameswithgo on Friday February 28, 2020 @11:15AM (#22443788)
option types are spreading pretty well these days. Zig, for instance, has them, even as a low level C replacement language.
Re:I Want Off Mr. Golang's Wild Ride by dualogy on Saturday February 29, 2020 @06:33AM (#22450104)
Even C itself has unions since forever. Optionals, enums, bools, err-or-result constructs are (highly ergonomic) sugars atop of unions.