Aijan@programming.dev to Programming@programming.dev · 3 months agoAvoiding if-else Hell: The Functional Stylelackofimagination.orgexternal-linkmessage-square35fedilinkarrow-up195arrow-down18
arrow-up187arrow-down1external-linkAvoiding if-else Hell: The Functional Stylelackofimagination.orgAijan@programming.dev to Programming@programming.dev · 3 months agomessage-square35fedilink
minus-squareLupec@lemm.eelinkfedilinkarrow-up4·3 months ago I am not sure if JS has something similar, but this often helps by a lot It does, the some/every array methods would achieve the same results. I use them quite often myself!
It does, the some/every array methods would achieve the same results. I use them quite often myself!