I read this answer which said:
LaTeX does nothing special to allow both forms, it is just on the general TeX macro syntax rules that braces can be omitted if a macro argument is a single token.
I'm just curious, is there a "best practice" or "safer" way between both, if we are talking about (lua)latex? Because I saw a lot of command definitions where people use curly braces around the command name and where they don't. Or is this just a personal preference and nothing more?
Does the answer changes for definitions like \newenvironment or \NewDocumentCommand?
P.S. I'm still new to some stuff so to be more specific, I'm talking about LaTeX2e (but I don't know about differences with just LaTeX).