--

To be clear, on point 2 I am not suggesting that nil would be any different from the zero value for that type. So for example, assigning nil to a bool value would be the same as assigning false.

On point 3, I agree that explicit error handling is good. I just think that taking 4x as many lines to do that is clearly suboptimal. A new operator is my suggestion, possibly there are other options.

--

--

Ryan Collingham
Ryan Collingham

No responses yet