Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on March 28, 2020
|
parent
|
context
|
favorite
| on:
The Hardest Program I've Ever Written – How a code...
In this language, there's very few multi-line expressions. However, for your specific case: yes, I would consider that two statements.
1 - 1
would be one: putting a binary operator by itself in one line would cause the parser to keep looking.
lioeters
on March 28, 2020
[–]
Ah, I see, so new lines are like invisible operators (with low precedence) that ends a statement unless preceded by another operator. Right, that makes sense.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: