documentation and papers about const/invariant

Sean Kelly sean at invisibleduck.org
Tue May 20 08:32:00 PDT 2008


== Quote from Jesse Phillips (jessekphillips at gmail.com)'s article
> Walter has said several times that he sucks at explaining things, his
> best method is to compare it with another language.

There's a rule in advertising where comparisons may only be made to
the top product in any particular category.  I suppose the idea is that
doing so improves competition by preventing the top product from
saying how bad all the others are.  However, notice how such
advertisements rarely mention the competing product by name, but
instead generally say "the leading brand."  This is because comparisons
with another product implicitly establish that other product as better
than the one being advertised.  Otherwise, why bother with a
comparison?  When talking about something like a programming
language, any mention of other languages should be limited to
drawing similarities as a way to leverage the reader's knowledge
when discussing difficult concepts.  This is a fairly simple rule to
follow, and in my experience it helps to retain the focus of an
explanation.


Sean



More information about the Digitalmars-d mailing list