Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: