D Conference Tango Phobos

Lars Ivar Igesund larsivar at igesund.net
Sun Sep 16 12:53:05 PDT 2007


Janice Caron wrote:

> 
> So I apologise if my first impression offended you, but yes, I was
> being honest. Perhaps I might have a different opinion if you could
> answer the following question: Why did you violate the D style guide?

How on earth can we violate a style _guide_ that was never discussed, only
one day put up on the web page by Walter as "This is the D style guide",
long after people had written thousands of lines of code in other styles?
And the fact that it says itself that is a guide only, not a requirement,
to boot?

The D style guide is mostly tuned towards single level hierarchies, and free
function API's, something being (IMO) rather too little in a multi paradigm
language like D.

Tango's style guide tries to take into account those things that are
relevant for a complete, consistent and extensible library design, and most
class names and methods are subject to discussions before decided upon.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list