Follow Slashdot stories on Twitter


Forgot your password?

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

The 11 is for people with the pride of a 10 and the pocketbook of an 8. -- R.B. Greenberg [referring to PDPs?]