▲ 668 ▼ === (programming.dev) submitted 2 years ago by JPDev@programming.dev to c/programmer_humor@programming.dev 71 comments fedilink hide all child comments
[–] mumblerfish@lemmy.world 4 points 2 years ago (2 children) Mathematica also has an === operator. And :=. permalink fedilink source hideshow 4 child comments replies: [–] lurch@sh.itjust.works 8 points 2 years ago (1 child) It's also very language specific, like Pascal/Delphi also have ":=" for assignments and "=" for comparison, etc permalink fedilink source parent hideshow 2 child comments replies: [–] zarkanian@sh.itjust.works 3 points 2 years ago That makes much more sense than the other way. permalink fedilink source parent [–] Agent641@lemmy.world 1 point 2 years ago (1 child) What does the walrus operator do? permalink fedilink source parent hideshow 2 child comments replies: [–] mumblerfish@lemmy.world 1 point 2 years ago I think it's called 'delayed assignment'. So it is almost like =, but you can use arguments to define functions, f[a_]:=a+2. permalink fedilink source parent
[–] lurch@sh.itjust.works 8 points 2 years ago (1 child) It's also very language specific, like Pascal/Delphi also have ":=" for assignments and "=" for comparison, etc permalink fedilink source parent hideshow 2 child comments replies: [–] zarkanian@sh.itjust.works 3 points 2 years ago That makes much more sense than the other way. permalink fedilink source parent
[–] zarkanian@sh.itjust.works 3 points 2 years ago That makes much more sense than the other way. permalink fedilink source parent
[–] Agent641@lemmy.world 1 point 2 years ago (1 child) What does the walrus operator do? permalink fedilink source parent hideshow 2 child comments replies: [–] mumblerfish@lemmy.world 1 point 2 years ago I think it's called 'delayed assignment'. So it is almost like =, but you can use arguments to define functions, f[a_]:=a+2. permalink fedilink source parent
[–] mumblerfish@lemmy.world 1 point 2 years ago I think it's called 'delayed assignment'. So it is almost like =, but you can use arguments to define functions, f[a_]:=a+2. permalink fedilink source parent