@[email protected] to Programmer [email protected] • 1 year ago===programming.devimagemessage-square60fedilinkarrow-up1663arrow-down115
arrow-up1648arrow-down1image===programming.dev@[email protected] to Programmer [email protected] • 1 year agomessage-square60fedilink
minus-squarelurch (he/him)linkfedilink8•1 year agoIt’s also very language specific, like Pascal/Delphi also have “:=” for assignments and “=” for comparison, etc
minus-square@mumblerfishlink1•1 year 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:=
.It’s also very language specific, like Pascal/Delphi also have “:=” for assignments and “=” for comparison, etc
That makes much more sense than the other way.
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
.