JPDev to Programmer Humor · 10 months agoifn'timagemessage-square127fedilinkarrow-up1774arrow-down111
minus-squareLmaydevlinkfedilinkarrow-up1·edit-210 months agoThe type matching is the most common thing I use it with. Combined with inline variables. if (x is string { Length: 5} s) { // do stuff with s } And switch expressions. As a side note inline variables are amazing haha
The type matching is the most common thing I use it with. Combined with inline variables.
And switch expressions.
As a side note inline variables are amazing haha