News for hackers. Stuff that matters.
Re:Ruby adds experimental support for rightward assignments by Someone on Thursday September 10, 2020 @03:49PM (#24435867)
But “age is 42” is a statement/Boolean, not a mutation. “Let age be 42” is more natural, but doesn’t sound well on reassignments (“let age now be 42”?)
Re:Ruby adds experimental support for rightward assignments by samatman on Thursday September 10, 2020 @04:23PM (#24436210)
I would say this as "set age to 42".
Re:Ruby adds experimental support for rightward assignments by postalrat on Thursday September 10, 2020 @08:28PM (#24438028)
"age is 42" may be a statement while "is age 42" may produce a boolean.

And I don't see why a statement can't describe a mutation.

Re:Ruby adds experimental support for rightward assignments by hcs on Thursday September 10, 2020 @04:16PM (#24436134)
I read assignment like "age gets 42".