JPDev@programming.dev to Programmer Humor@programming.dev · 8 months agoifn'tprogramming.devimagemessage-square120fedilinkarrow-up1729arrow-down19
arrow-up1720arrow-down1imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square120fedilink
minus-squareCaveman@lemmy.worldlinkfedilinkarrow-up22·8 months agoI’d take a not or “if not” operator tbh.
minus-squareLmaydev@programming.devlinkfedilinkarrow-up7·edit-28 months agoIt has a not keyword it’s used for pattern matching. if (x is not null)
I’d take a
not
or “if not” operator tbh.It has a not keyword it’s used for pattern matching.
It also has a
!=
.Pattern matching is different.
Stuff can be two things