News for hackers. Stuff that matters.
Re:Things Go needs more than generics by stonemetal12 on Wednesday October 06, 2021 @10:03AM (#28773317)
Why strings and not integers and doubles? Why strings and not structs? You have given plenty of reasons why nullability in general can be useful, but not why it is mandatory for strings to be nullable. Unless the core of your argument is C has null strings so now everyone must support that poor decision for interop purposes.

Personally I prefer how Protocol buffers handles not present strings compared to C. If you stick to std::string, C++ isn't bad either.

There are no comments on this comment yet.