you are viewing a single comment's thread.

view the rest of the comments →

[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (1 child)

This idiom is readable. If you read "||" as "or" then "x = y || z" makes sense. This is in contrast to arrow functions and default parameter values that you see x0x7's code which just don't make sense unless you know what they are.

[–]IMissPorn 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

I see. I suppose that makes sense.