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.

Thanks for the clarity
Philipp

PS: Anybody fond of “\@EAEAEAEAEAEA”?


> As I started this thread I’ll present my favorite command which is 
> \donothing, it is a internal command and only a synonym for \empty but it’s 
> one reason why I prefer ConTeXt’s coding style (especially with the recent 
> changes in MkIV) over the unreadable LaTeX code.
> 
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgp7t8snGWshI.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to