Y
Hacker News
new
|
ask
|
show
|
jobs
by
Someone
2105 days ago
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”?)
3 comments
samatman
2105 days ago
I would say this as "set age to 42".
link
postalrat
2104 days ago
"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.
link
hcs
2105 days ago
I read assignment like "age gets 42".
link