Closed hollasch closed 5 years ago
For instances of "float" and "double" and other types in the text, do we want them to be inlined, i.e.
float
s and double
s.
I tend to use “single precision” and “double precision”, or “32-bit floats” and “64-bit floats” in prose unless I'm talking specifically about the types. If the types are important, then yeah, generally I try to mark them up as code: float
/double
. I'm not super strict on this, as sometimes my prose looks like a clown car of type changes, so sometimes I'll drop the inline code style just so the text reads easier (not usually).
So generally, use code styling, but with an escape hatch when you need it.
const
and {
on same line