I find that as I code in Hugo, I am adopting Kent's coding style more and more. I mean, for a long time, I've understood the importance of indentation, but even getting that right has been a bit tricky. My old code was probably over-indented, but now I've picked up one more rule from Kent's style:
Brackets are not indentedIf you think about it, the following object definition:
objectalready establishes that brackets aren't indented, so not indenting with them is nice from a consistency viewpoint.
Now, whatever is in the bracket is indented, of course. Also,
Brackets get their own lineThe other thing I do for readability these days is always give brackets their own line. This makes it easier to keep things aligned.
Now, of course, both of these things are up to personal taste, but I thought I'd share my reasonings for other Hugo authors who haven't put much thought into it.