@lisyarus@mastodon.gamedev.place
Post #4139764
2026-07-27 15:00 UTC
@witchgirls@woof.tech Yep! I'm still not entirely sure about that, since now
let x = 10
- 1
and
let x = (10
- 1)
would be entirely different pieces of code...
Replies (1)
-
@witchgirls@woof.tech 2026-07-27 15:03
@lisyarus@mastodon.gamedev.place Well.. In the first case, -1 would be an expression statement. I'm pretty sure some languages get away with removing them (Like Lua IIIRC), because it makes multi-line no-semicolon syntax unambiguous