logoalt Hacker News

guappa11/11/20240 repliesview on HN

Why are you talking about go fmt? I'm talking about parser of the go language

If I write

    if x
    {
    bla
    }
it will not compile, because the { needs to be on the same line as the X (for no reason whatsoever).