by xigoi · 4y ago · 0 comments
But did he explain why it used semicolons, rather than periods, which would make more sense because a statement is basically a sentence?
Imagine that your statements are "x = y.x = z." The compiler needs to figure out if that middle dot is saying "x member of y" or if it's a statement terminator.
[1]: It's already complicated by that reuse, which is, I assume, why identifiers can't start with digits so your parser can be simpler.
print 42.0