Xylight (Photon dev)@lemmy.xylight.dev to Programmer Humor@programming.dev · 2 年前I don't want to use ternarieslemmy.xylight.devimagemessage-square19fedilinkarrow-up1146arrow-down111
arrow-up1135arrow-down1imageI don't want to use ternarieslemmy.xylight.devXylight (Photon dev)@lemmy.xylight.dev to Programmer Humor@programming.dev · 2 年前message-square19fedilink
minus-squarepomodoro_longbreaklinkfedilinkEnglisharrow-up1·2 年前You get used to it pretty quickly. After a while you wonder how you ever lives without it. Explicit returns feel like ending an if with endif. The end of the conditional’s scope is implied by the end of the block by } or whatever.
You get used to it pretty quickly. After a while you wonder how you ever lives without it. Explicit returns feel like ending an
if
withendif
. The end of the conditional’s scope is implied by the end of the block by}
or whatever.