Article

From:
To:
Ralf Stocker
Subject:
Re: Delphi Project X Cross GUI
Newsgroup:
embarcadero.public.delphi.non-technical

Re: Delphi Project X Cross GUI

Brad White wrote:

> This Delphi can do with interfaces and C# can't without
> using the 'using' clause.

	Again, it's not really a good analogy, since you *must* clean up 95%
of what you allocate in Delphi (exceptions being things like interfaces
and ownership) and you don't need to do that for 95% of what you write
in C# (exceptions being things like file handles and DB transactions).

Really, it's just different there. C# "can't do" what it largely doesn't need to do.
The Delphi user's argument has always been that programmers know better, but the current raging debate about the most basic aspects of memory management (the whole FreeAndNil jihad) makes me wonder about that. :)
-- Craig Stuntz __ Vertex Systems Corp. __ Columbus, OH Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz/
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 11:52:31 UTC
Copyright © 2009-2024
HREF Tools Corp.