Re: I really hate .NET especially inside Delphi



You *cannot* "use" a namespace in Delphi.Net from a Delphi.Net compiled
assembly. Which is one of my points why I consider units in D.Net a poor
trade-off compared to namespaces in the usual way .Net languages implement
it.
You *have* to use units.

Thank you for explaining. My company is still in D7 and we did the intranet
in D8 (different namespace support than in D2005+). For .NET I use cheaper
and more pure .NET solutions than Delphi.

So I didn't know namespace support is even worse in Delphi. Probably to
avoid the confusion I was talking about.

Rick


.



Relevant Pages

  • Re: I really hate .NET especially inside Delphi
    ... poor trade-off compared to namespaces in the usual way .Net languages ... namesapce TimsTest i.e Unit TimsTest.TTestClass, ... in a Delphi app in the Uses class you would put ...
    (borland.public.delphi.non-technical)
  • Re: I really hate .NET especially inside Delphi
    ... Delphi.NET terms this is a package (yeah, yeah, I don't know why ... a BPL it will compile to a dll, ... Mainly because I couldn't get the output as I wanted it to be and I simply got used to the ease of namespaces and multi pass compiling in the time before Delphi learned .Net. ...
    (borland.public.delphi.non-technical)
  • Re: The problem with Delphi 8
    ... Not in order of importance or anyone's personal preference) ... but it goes against the Delphi philospophy. ... can use classes from namespaces without importing the whole namespace ... means that the compiler must work a long time without concrete ...
    (borland.public.delphi.non-technical)
  • Re: height:=PaintBox1.Height; magically changes the size of the form?
    ... object var names and local variable names all clash together ... Namespaces don't help, they only increase the uncertainty, if not *every* identifier is qualified with it's intended namespace. ... The same situation as in Delphi, where the "uses" lists and "with" can influence the lookup of identifiers. ... The preprocessor in C introduces further uncertainties, because every identifier in source code can be a macro, whose expansion can result in everything. ...
    (comp.lang.pascal.delphi.misc)
  • Re: How would you steer Delphi if you were Nick?
    ... Units and Namespaces ... model in Win32 Delphi, the implementation of units and namespaces just ... Now compare and contrast with Chrome. ...
    (borland.public.delphi.non-technical)