🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: inherited / constructors : best code ?

#303
From: Jon Shemitz
Date: Fri, 22 Jul 2005 16:00
15 lines
1691 bytes
"Craig Stuntz [TeamB]" wrote:

>         The means for calling inherited / overloaded construtors is one of my
> least favorite things about C#. It's one of the areas where Delphi's
> language design is really a lot better. The C# version puts what is
> essentially a method call /outside/ the {} which are theoretically the
> beginning and end of the method. In most other respects I think the C#
> language design is very good, but this one just annoys me.

But it does ensure that you always call a base class constructor
before doing any local init.

-- 

www.midnightbeach.com
Technical Details
Message-ID: <42E11807.4CF45CB6@midnightbeach.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <mn.ad937d57748784b9.18651@0e-naxos.com> <42E01E73.C32A6218@midnightbeach.com> <mn.b02d7d57be39b554.18651@0e-naxos.com> <42e0ef8d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,40a1073c2533bd08
X-Google-Attributes: gid1efe35,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <42E11807.4CF45CB6@midnightbeach.com>
Date: Fri, 22 Jul 2005 09:00:07 -0700
From: Jon Shemitz <jon@midnightbeach.com>
Reply-To: jon@midnightbeach.com
Organization: Midnight Beach
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en-US,en
MIME-Version: 1.0
Newsgroups: borland.public.csharpbuilder.language.csharp
Subject: Re: inherited / constructors : best code ?
References: <mn.ad937d57748784b9.18651@0e-naxos.com> <42E01E73.C32A6218@midnightbeach.com> <mn.b02d7d57be39b554.18651@0e-naxos.com> <42e0ef8d@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 63.249.104.197
X-Trace: newsgroups.borland.com 1122048008 63.249.104.197 (22 Jul 2005 09:00:08 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail