Ruby Whitespace Semantics

[email protected] wrote in message
news:[email protected]
Quoting [email protected]:

Ah. I thought a semicolon terminated a statement.

It does; it’s just that the current Ruby grammar permits multiple
statements within the same set of parenthesis (separated by
semicolons or newlines).

I guess a = ( 4 ; + 5 ) is not so different from C’s a = ( 4 , + 5 )

Live and learn! :slight_smile: