[webkit-dev] MathML Acronym and the Style Guide

David Levin levin at chromium.org
Fri Sep 11 08:02:24 PDT 2009


MML would be an acronym.MathML is a word "math" plus an acronym ML (markup
language), so MathML seems like an appropriate casing.

One small correction from your examples: String MathMLName(); should
be String mathMLName();

dave

On Fri, Sep 11, 2009 at 7:56 AM, Alex Milowski <alex at milowski.org> wrote:

> So, as an acronym, MathML is somewhat strange in that it is "camel case"
> rather
> than all upper case.   According to the style guide, all acronyms should be
> uppercase and that would make it "MATHML".  But that isn't the way
> MathML is usually used and referenced.  It is always "MathML" (try a google
> search and you'll see what I mean from the search results).
>
> I'd prefer to use:
>
>   class MathMLElement;
>
>   bool  isMathMLElement;
>
>   String MathMLName();
>
> That would be seem to be consistent with the "real" preference of acronyms
> being used in variable names etc. as they would in a sentence or some other
> natural language reference.
>
> --
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
>
> Bertrand Russell in a footnote of Principles of Mathematics
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090911/5c9ee614/attachment.html>


More information about the webkit-dev mailing list