3 ms·
Let became optional quickly it seems But most BASIC versions would accept 'let a = 1' Personally, I don't see why the big fuss. If your assignment and compari
by raverbashing 9y ago
Let became optional quickly it seems
But most BASIC versions would accept 'let a = 1'
Personally, I don't see why the big fuss. If your assignment and comparison operators are the same the only thing you lose is doing x = (y == 2); kind of expressions (since you would disambiguate from conditional expressions).
Now, assignments are done more frequently than comparisons, hence why it makes sense for it to be the simpler/shorter one.
- boomlinde 9y agoYou wouldn't even lose that if you can accept that assignments can't be expressions, which seems like a bit less of a loss.