I am editing a class-file (extension .cls) created by several authors to format a thesis according to my university standards.
In that file, there are many command (re)definitions. For example, the following:
\let\@ldquote=\quote
\let\@ldendquote=\endquote
\renewenvironment{quote}
{\@ldquote\setlength{\baselineskip}{\z@}}
{\@ldendquote}
ensures single-spacing in quotes regardless of text-spacing elsewhere in the chapters (usually double-spaced for corrections). There are many other similar examples.
In that example, as far as I can tell, the letter @ is used instead of o without obvious reason, ie \@ldquote instead of \oldquote. It is also used in the macros \z@, \@ne and \tw@, to define "constants" for zero, one and two respectively.
I would personally qualify such practice as deliberate obfuscation, but it is not the first time I see this in class-files. Is there a point to this usage that I missed, or is this just the LaTeX-way of doing things?
newcommandinstead ofdef? – Jonathan H Jul 19 '17 at 15:01