Xylight (Photon dev)@lemmy.xylight.dev to Programmer Humor@programming.dev · 1 year agoI don't want to use ternarieslemmy.xylight.devimagemessage-square8fedilinkarrow-up111arrow-down12
arrow-up19arrow-down1imageI don't want to use ternarieslemmy.xylight.devXylight (Photon dev)@lemmy.xylight.dev to Programmer Humor@programming.dev · 1 year agomessage-square8fedilink
minus-squaremsage@programming.devlinkfedilinkarrow-up0·1 year agoI never got to like implicit anything. Not even returns. Ever.
minus-squarepomodoro_longbreak@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year agoYou 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.
I never got to like implicit anything.
Not even returns. Ever.
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.