Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Yet 'optionals' somehow made it through (Score 1) 339

The only thing this optional construction adds is a redundant data member (used to track whether the optional is assigned or not), whereas a traditional null/nil check can use the original field value to make this determination.

Regarding the multiple redundant checks that optionals encourage, those mostly come from optionals chaining.

Slashdot Top Deals

If you are smart enough to know that you're not smart enough to be an Engineer, then you're in Business.

Working...