logoalt Hacker News

bccdeelast Thursday at 12:49 PM0 repliesview on HN

The code already looks different based on different developers' opinions. Gofmt already allows this:

    fmt.Printf("%s %s %s %s\n", arg1, arg2, arg3, arg4)
and this

    fmt.Printf("%s %s %s %s\n",
        arg1, arg2, arg3, arg4)
and this

    fmt.Printf(
        "%s %s %s %s\n",
        arg1,
        arg2,
        arg3,
        arg4,
    )
and will not alter any of the above. All I want is similar ambiguity around one-line `if` statements. That's not so crazy.