News for hackers. Stuff that matters.
Re:Indentation Style: Notable Styles by voidUpdate on Wednesday February 26, 2025 @05:45AM (#43182568)
Makes sense to me. The annoying thing with Go is that every end of line that doesn't have a brace gets a sort of virtual semicolon added, to make it easier for the programmer, so Allman style is forbidden, since it would mean that the previous line gets a semicolon appended. I guess that also means you can't split statements across multiple lines like you can in other languages for readability :/

There are no comments on this comment yet.