Comment on The Legends is among us

<- View Parent
kernelle@0d.gs ⁨1⁩ ⁨day⁩ ago

The problem with this in the OP is the first ‘if’ checks if the object exists and the second gets a property of said object only if the original object exists.

I’m not saying the OP is good code, but chaining them like this would result in exceptions.

source
Sort:hotnewtop