News for hackers. Stuff that matters.
Re:Ruby adds experimental support for Rightward assignments by lioeters on Friday September 04, 2020 @03:59PM (#24378377)
I considered such an assignment operator for a little language I was developing, but there was an ambiguity between this:

  a <- 25
and this:

  a < -25
Since everything was an expression in the language, the latter would evaluate to a boolean. In the end I just went with "=" for assignment, and "==" for equality.

There are no comments on this comment yet.