Re: I really hate .NET especially inside Delphi



Clinton R. Johnson wrote:

I've done very little with Delphi.net aside from some reading as
articles drift by, but correct me if I am wrong, but isn't "UNIT"
treated as something different from "namespace" inspite of the fact
that they are direct conceptual equivalents (dating back all the way
to how they were described in Turbo Pascal 4.0 when they were first
introduced)?

No, you've not understood correctly. A unit name corresponds directly
to it's namespace. Very easy to work with and understand.

FOr instance -- it's very easy to see in the project manager which
files contribute to what namespaces. Can't do that in other .Net
languages.

Delphi is just different. I think it's better. Others' don't. Now,
again, you may prefer the other way of doing things, but it's quite a
leap to argue that "Delphi Sucks" because of it.

--
Nick Hodges
Delphi/C# Product Manager - Borland DTG
http://blogs.borland.com/nickhodges
.



Relevant Pages

  • Re: Delphi and the .Net platform
    ... this means you maintain the habit of calling Free where you called ... Once again, if porting existing code, calls to Free are harmless, ... In Delphi, it is not a physical one either. ... take part in the same namespace. ...
    (borland.public.delphi.non-technical)
  • Re: I really hate .NET especially inside Delphi
    ... in Delphi.NET terms this is a package (yeah, yeah, I don't know why ... to a BPL it will compile to a dll, ... will see a namespace called TimsTest with TTestClass in it, ... in a Delphi app in the Uses class you would put ...
    (borland.public.delphi.non-technical)
  • Re: True Name Spaces, when?
    ... which in Delphi many many people do. ... And if you want to put somthing in the System namespace, ... to determine which order to initialize / finalize each module. ...
    (borland.public.delphi.non-technical)
  • Re: Why arent you upgrading?
    ... amounts to an ad hominen attack - you are not finding any fault with ... Look at the namespace thread, or many other threads where many people ... No matter what - Delphi is best in his replies. ... "And this is another reason why I think it's a mistake to have Nick ...
    (borland.public.delphi.non-technical)
  • Re: I really hate .NET especially inside Delphi
    ... Being a customer doesn't mean someone's opinion is automatically right. ... The last changes to D4N namespace support did improve this, making it at least /possible/ to expose a class library with a namespace system that could fit in with the rest of the .NET world. ... But imho it is still too awkward and inflexible, and it is a big problem that code written in Delphi needs to be consumed differently from within Delphi then from other languages. ... In all namespace based .NET languages i am aware of, this is not an issue, and all classes defined in the same namespace can see each other implicitly - even circular. ...
    (borland.public.delphi.non-technical)

Loading