[Haskell-cafe] Advantages of using qualified names and a uniform naming convention

Henning Thielemann lemming at henning-thielemann.de
Mon Sep 4 06:08:55 EDT 2006


On Mon, 4 Sep 2006, Brian Hulley wrote:

> The problem here is that these names, presumably both to do with "Car", are
> not going to appear next to each other in any alphabetical listing (if there
> are other names too), whereas:
> 
>    type CarBlue = ...
>    type CarRed = ...
> 
> will. Thus the position of the adjective in natural language (in this case
> English) has to be ignored if you want a programming environment to display
> related things together.

 You have still not mentioned the C legacy Float and Double. Where the
first one is certainly an abbreviation for "floating point number", the
second one abbreviates "double precision floating point number", but the
abbreviations are quite different. What about Single and Double, or
FloatSingle and FloatDouble, or FloatSP and FloatDP?


More information about the Haskell-Cafe mailing list