JPDev@programming.dev to Programmer Humor@programming.dev · 9 months ago===programming.devimagemessage-square61fedilinkarrow-up1626
arrow-up1609image===programming.devJPDev@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square61fedilink
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up3·9 months agoMathematica also has an === operator. And :=.
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up1·9 months agoI think it’s called ‘delayed assignment’. So it is almost like =, but you can use arguments to define functions, f[a_]:=a+2.
Mathematica also has an
===
operator. And:=
.What does the walrus operator do?
I think it’s called ‘delayed assignment’. So it is almost like
=
, but you can use arguments to define functions,f[a_]:=a+2
.