Re:An Open Letter to the Erlang Beginner (2011)
by jerf on Monday May 19, 2014 @03:09PM
(#7769179)
Neither of those are valid examples of what I meant. In the first, the . is not the function terminator, it's the floating point separator. Same ASCII character, different semantic token. In the second, the comma is not the statement separator, it's the value separator. Again, same ASCII character, different semantic token.
The question is, can you produce a situation in which ; . , are interchangable and valid in their capacity as statement separators.
My compliments for trying though, as I'm aware this smells like goalpost hiking and I do want to be complimentary about what you did. If you read my post again, though, I think it will become clear that this is what I meant all along, but I agree this superficially looks like I'm trying to cheat.
The question is, can you produce a situation in which ; . , are interchangable and valid in their capacity as statement separators.
My compliments for trying though, as I'm aware this smells like goalpost hiking and I do want to be complimentary about what you did. If you read my post again, though, I think it will become clear that this is what I meant all along, but I agree this superficially looks like I'm trying to cheat.