byKey and byValue: properties or methods?

Jens Mueller jens.k.mueller at gmx.de
Fri Jan 20 02:01:10 PST 2012


Jonathan M Davis wrote:
> On Thursday, January 19, 2012 22:30:46 Jose Armando Garcia wrote:
> > I think MSDN has some decent advice on when to use properties vs
> > methods:
> > http://msdn.microsoft.com/en-us/library/bzwdh01d(v=vs.71).aspx#cpconpropert
> > yusageguidelinesanchor1
> 
> Those do seem like pretty good guidelines.

Then why not add these in a condensed form to
http://www.dlang.org/dstyle.html?
Convention may be a way to end these discussions.

Jens


More information about the Digitalmars-d mailing list