Am 31.01.2012 um 16:15 schrieb Philipp Gesang:
On 2012-01-30 19:55, Wolfgang Schuster wrote:
Hi all,
to bring some traffic to the list I have a question where I hope even non regulars send a answer. The ConTeXt package is huge and provides dozen of commands but I guess many have *one* favorite command (maybe also functionality).
Hi Wolfgang & Others,
my favorite feature maybe neither a command nor a macro as such: I’m especially fond of one “linguistic” feature that makes Context source code easily readable: the (often repeated) “do” prefix and “indeed” suffix in macro names. This way the majority of macros are to a certain extent self-descriptive, their names carrying a hint about the current nesting depth and the number of steps already executed before the macro itself is encountered.
A crude scripted scan of the directory context/tex/texmf-context/tex/context/base/ reveals the longest prefixed macro name to be “\dofinishregisterstructurepageregister” (not yet underscorified), and the longest suffixed one “\syst_helpers_inspect_next_parenthesis_character_indeed”. Finally, the macro “\dododododoGTC” has the most “do” prefixes of all.
I hereby declare these three my favorite macros, although I never read their definitions, let alone used them.
The second is part of the internals for \doifnextparenthesiselse.
Thanks for the clarity Philipp
PS: Anybody fond of “\@EAEAEAEAEAEA”?
The @ is a dying symbol in MkIV because the underscore has replaced it and there are now alternative names for these function, the one you mention can now be written as \tripleexpandafter. Wolfgang