Re: I really hate .NET especially inside Delphi
- From: "Tim Jarvis [Borland/DTG]" <tim.jarvis@xxxxxxxxxxx>
- Date: 3 Oct 2006 19:38:08 -0700
Tim Jarvis [Borland/DTG] wrote:
Nick Hodges (Borland/DTG) wrote:
David Berneda wrote:
I think he refers to the ability (like C#) for a unit to
contribute to an arbitrary namespace,
In my view, this is an inferior solution, as it makes for arbitrary
code that can be scattered all over creation. I prefer the unit
name to clearly determine what the namespace is. I realize other's
prefer the "C#-way". That's cool -- to each his own. But to get
from "Delphi does namespaces in a way different than C#" to "Delphi
for .NET sucks is a pretty large chasm that I dont' think can be
leaped.
One of the nice advantages of being able to spread namespaces over
multiple files is in multi-developer project environments, for example
we ourselves have a situation where our common controls ( TEdit,
TListBox etc etc) are all contained in one unit, and unless you are
happy to merge your checkins (fine with Starteam, subversion etc but
out of the question with Source-Safe) it's awkward to split it up for
team development.
Sometimes it simply does make sense for tightly coupled and related
classes to be contained in the same naming and reference scope, but
equally advantageous to be in it's own physical file. (most noticiable
in component suites)
Regards
Oh, and just to be clear, Delphi.NET does allow for this. So the major
flexibility point that people are talking about is covered, its just
the other way that is not covered (multiple namespaces in one file)
which IMO is not really that good an idea, in 2 years of C# coding
(which allows this feature) I have never once needed or used it.
Cheers Tim.
--
Tim Jarvis
Product Evangelist APAC Team Lead (DTG)
.
- Follow-Ups:
- Re: I really hate .NET especially inside Delphi
- From: Jolyon Smith
- Re: I really hate .NET especially inside Delphi
- From: marc hoffman
- Re: I really hate .NET especially inside Delphi
- From: Peter Morris [Droopy eyes software]
- Re: I really hate .NET especially inside Delphi
- From: Ingvar Nilsen
- Re: I really hate .NET especially inside Delphi
- References:
- I really hate .NET especially inside Delphi
- From: AnnShip
- Re: I really hate .NET especially inside Delphi
- From: Robert Giesecke
- Re: I really hate .NET especially inside Delphi
- From: Nick Hodges (Borland/DTG)
- Re: I really hate .NET especially inside Delphi
- From: Robert Giesecke
- Re: I really hate .NET especially inside Delphi
- From: Nick Hodges (Borland/DTG)
- Re: I really hate .NET especially inside Delphi
- From: Robert Giesecke
- Re: I really hate .NET especially inside Delphi
- From: Nick Hodges (Borland/DTG)
- Re: I really hate .NET especially inside Delphi
- From: David Berneda
- Re: I really hate .NET especially inside Delphi
- From: Nick Hodges (Borland/DTG)
- Re: I really hate .NET especially inside Delphi
- From: Tim Jarvis [Borland/DTG]
- I really hate .NET especially inside Delphi
- Prev by Date: Re: I really hate .NET especially inside Delphi
- Next by Date: Re: Why Delphi is not More Popular
- Previous by thread: Re: I really hate .NET especially inside Delphi
- Next by thread: Re: I really hate .NET especially inside Delphi
- Index(es):
Relevant Pages
|