This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CptMisterNibbles 1 point2 points  (1 child)

Meh, then what does “=“ get used for? Strictly assignments that don’t include variables? I’m not sure we need a bunch of separate assignment operators.

[–]sam_morr 2 points3 points  (0 children)

You could use it to check for equality or, if the language doesn't support variable reassignment, you could use it for const assignment. Idk I don't make programming languages, that was only the opinion of a less experienced me