Aijan@programming.dev to Programming@programming.dev · 10 months agoAvoiding if-else Hell: The Functional Stylelackofimagination.orgexternal-linkmessage-square33linkfedilinkarrow-up195arrow-down18
arrow-up187arrow-down1external-linkAvoiding if-else Hell: The Functional Stylelackofimagination.orgAijan@programming.dev to Programming@programming.dev · 10 months agomessage-square33linkfedilink
minus-squareLupec@lemm.eelinkfedilinkarrow-up4·10 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!