Aijan@programming.dev to Programming@programming.dev · 11 days agoAvoiding if-else Hell: The Functional Stylelackofimagination.orgexternal-linkmessage-square35fedilinkarrow-up193arrow-down18
arrow-up185arrow-down1external-linkAvoiding if-else Hell: The Functional Stylelackofimagination.orgAijan@programming.dev to Programming@programming.dev · 11 days agomessage-square35fedilink
minus-squarez3rOR0ne@lemmy.mllinkfedilinkarrow-up1arrow-down4·11 days agoAs a Jr Developer, I found this very helpful. Thanks.
minus-squareHamsterRage@lemmy.calinkfedilinkarrow-up14·11 days agoYou might want to think about it a bit more before putting it to work. The comment with the streams example is far, far better.
minus-squareFizzyOrange@programming.devlinkfedilinkarrow-up10·11 days agoYeah, honestly you should stick to if/else until you’re really sure you want to do something more complex.
As a Jr Developer, I found this very helpful. Thanks.
You might want to think about it a bit more before putting it to work. The comment with the streams example is far, far better.
Yeah, honestly you should stick to if/else until you’re really sure you want to do something more complex.