Certain commonly used macros have a shorthand macro syntax that do not start with backslash (
\
). It is a form of syntactic sugar.For example, you could write code blocks as:but that is very verbose and annoying to read and write. Therefore, in addition to the explicit
I like my code:
\C[[
print("hello world")
]]
which renders as:
I like my code:print("hello world")
\C
syntax, most people will prefer the backtick shorthand syntax:I like my code:
``
print("hello world")
``
which renders as:
I like my code:print("hello world")
Originally, Ciro wanted to avoid those, but they just feel too good to avoid.
Every shorthand syntax does however have an equivalent sane syntax.
Our style recommendation is: use the shorthand version which is shorter, unless you have a specific reason to use the sane version.
Shorthand in our context does not mean worse. It just mean "harder for the computer to understand". But it is more important that humans can understand in the first place! It is find to make the computer work a bit more for us when we are able to.