The format displayed in the primer (i.e. the indentation) is a result of defining the verb in the Terminal with its 3-space indent (as opposed to how it would be formatted in a script.
Below are a number of ways of defining verbs. There isn't a single accepted "good style". The "best" method probably depends on the use-case and user preference.
"Classic" explicit
f=: 3 : 0
9 %~ 5 * y -32
)
Variables are referenced explicitly. Good for longer, more complex verbs with multiple variables. The key symbol/primitive here is the conjunction : or def. See the JWiki page for a more exhaustive list of its forms.
Novice-friendly explicit
f=: verb define
9 %~ 5 * y -32
)
Same as "classic" but with some defined names to help with readability.
"String" explicit
f=: 3 : '9 %~ 5 * y - 32'
One-liner version of explicit, but can get ugly if the verb includes strings/literals that are delimited with single-quotes. Also doesn't play nice with syntax-highlighters.
Tacit
f=: (5%9) * -&32
f=: 9 %~ 5 * 32 -~ ] NB. alternative that ignores any left argument
Also known as point-free style, tacit verbs don't explicitly refer to their arguments. Great for smaller, simpler, well-defined verbs with one or two arguments. Can be more performant where a verb is invoked multiple times because it is only parsed once. Potentially defined and used within an explicit definition.
Direct Definition
f=: {{ 9 %~ 5 * y -32 }}
Direct definition was introduced in J9.02. It is a cleaner, more conventional syntax for explicit definition that enables single-line explicit definitions that play nicely with syntax-highlighters, as well as longer, more complex verbs with embedded explicit definitions.