3 ms·
> The first thing I immediately noticed is that they got rid of the parentheses in "if" and "for" statements. Coming from Python, I really like this. Python do
by briancurtin 15y ago
> The first thing I immediately noticed is that they got rid of the parentheses in "if" and "for" statements. Coming from Python, I really like this.
Python doesn't enforce any parenthesis in those statements, so how were you using them in Python that changes how you'd do the same thing in Go?
- andrewflnr 15y agoI assume he likes it because it doesn't change anything. He's used to the Python way.
- briancurtin 15y agoMaybe I'm missing something, but "they got rid of the parentheses" sounds like either Go used to require parentheses for this or he thought Python did. If it was the former, then I misread (I don't know very much about Go).
- deleted 15y ago[deleted]