🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.csharpbuilder.language.csharp
Article #220

Re: Two basic questions

#220
From: Bob Dawson
Date: Mon, 10 Jul 2006 00:50
21 lines
1932 bytes
"David Clegg" wrote
>
> I use one based on the MS guidelines, but which deviates in areas where
> I thought it made sense to do so in order to provide better
> interoperability with languages such as Delphi.

What you remark on in your blog all generally falls into an area where MS's
guidance doesn't seem to be carrying the day: the lack of scope marking on
private fields. Or what might be termed an RPN of scope. Seems to me that m,
_, or m_ are doing pretty well in the general press.

"Do not expose a property with the same name as its underlying type."

Rock and a hard place on this one. Delphi is easy because TFont --> property
Font, but there being no type marker in C# except the casing, the
declaration of a property (arguably a public instance reference) should
really be the type name in camel case--except that that's probably what the
internal field is. in the translation from class/type (PascalCase) to
property to field (camelCase), the middle term has no where to go.

bobD
Technical Details
Message-ID: <44b19623$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44b0539d$1@newsgroups.borland.com> <xn0eojyvv1kslj000@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,dc12dddeb5f6ea0
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bob Dawson" <RBDawson@prodigy.net>
Newsgroups: borland.public.csharpbuilder.language.csharp
References:  <44b0539d$1@newsgroups.borland.com> <xn0eojyvv1kslj000@newsgroups.borland.com>
Subject: Re: Two basic questions
Date: Sun, 9 Jul 2006 18:50:07 -0600
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1807
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807
NNTP-Posting-Host: 71.32.76.154
Message-ID: <44b19623$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1152488995 71.32.76.154 (9 Jul 2006 16:49:55 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail