Get rid off Null
Is your feature request related to a problem? Please describe. It would be nice to get ride of null. Null is an ugly data type some developers like to avoid to minimize bugs as stated in the following book Programming Scala: Scalability = Functional Programming + Objects by Dean Wampler and Alex Payne Describe the solution you'd like -1,0 out, or bool to false everything including settings like the following: //string value of SameSite attribute of the Set-Cookie HTTP respone header //valid value is either 'Null' (default), 'Lax', 'Strict' or 'None' "session_same_site" : "Null",
Describe alternatives you've considered Change the values so that -1,0, or false can be used.
Thanks for your feedback.
Personally I see no big reasons to go away from nullptr in modern C++ (in the general case), although I don’t know what the other active maintainers think.
The reasoning may be different in other languages like Scala (which I’m no expert in, but I know a similar sentiment from Swift development where you usually use optionals, and result wrappers).