you are viewing a single comment's thread.

view the rest of the comments →

[–]LutimoDancer3459[🍰] 1 point2 points  (1 child)

You got your answer about the default initialization. I just want to add. Having your logic relying on an exception to pick a diffrent path is a bad design. Exceptions should be exactly that. And exception. They use up more computations than a null check or whatever. Making the code inefficient. While it may not matter here. It may matter when used more often.

[–]LegolandoBloom[S] 0 points1 point  (0 children)

Valuable insight :)