Re: I really hate .NET especially inside Delphi



"Robert Giesecke" <Spam@xxxxxxxxx> wrote in message
news:4522ad98$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Well, units are absolutely poor compared to namespaces. Also the coupling
between filename and unit name (thus namespace) is not exactly what I
would call superior or even equal to how other .Net languages handle it.

I actually find that superior. For the VS projects I'm working on, I name
my .cs files the same as the namespace it supports (ex. Mailers.Objects.cs,
Mailers.Common.cs, etc). For the other developers here, they really like
not having to open each file to figure out how the namespace is declared.

To each his own, I guess.

krf


.



Relevant Pages

  • Re: The New Roadmap
    ... this is a HUGE advantage if your trying to port a Win32 Delphi ... A namespace is a logical grouping. ... your class then determines the filename you have to give that unit. ... I keep hearing about the huge productivity gains that generics will ...
    (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)
  • Re: Email attachments over webdav?
    ... Carlo ... > With the given filename, you can then get the attachment using a GET ... > namespace. ... So far I am able to get most of what I need from webdavm. ...
    (microsoft.public.exchange.applications)
  • MP3::Archive - namespace advice
    ... containing music metadata. ... it can also construct a filename. ... Archive (at least within the Archive:: namespace) means files ... It also has links to the scripts that use it. ...
    (comp.lang.perl.modules)
  • Re: local variable access from "namespace eval"?
    ... | configuration file into a namespace: ... | proc ReadSettingsIntoNamespace {filename} { ... | if {![namespace exists mynamespace} { ... reading proc inside your namespace, then call that proc with the ...
    (comp.lang.tcl)