|
|
|
|
|
by masklinn
718 days ago
|
|
The problem is not two expressions on one line, it’s one expression on two lines. e.g. foo
.bar()
now you need to either add syntax to specify that you’re “continuing” (python), play tricks for the parser (Go), or have unreliable magic biting you in the ass half the time (javascript). |
|
You can endlessly argue what location is better for the ".", but it really doesn't really matter. Regardless, you don't really need to do parser tricks.