Re: Delphi vs C# vs C++

From: Chiappone (chiappone_at_uol.com.br)
Date: 08/06/04


Date: Fri, 6 Aug 2004 08:39:37 -0300

Hi,

There is no a better language. When we talk about .NET Framework, all the
languages have the same power, becouse they use the same functions, classes,
and data access structure.
i.e:
C#:
MessageBox.Show("My C#","My C# caption", MessageBoxButtons.Ok,
MessageBoxIcons.Information);
Delphi 8
MessageBox.Show('My C#','My C# caption', MessageBoxButtons.Ok,
MessageBoxIcons.Information);

The diferences is the quote in Delphi 8 and the double quote in C#.
You must choice the sintax of your preference.

To access data, both uses System.Data
To mathematical calcs, both uses System.Math
etc..

But there is something to considerate:
All the .NET Framework languages generates the same binary code for their
.exe, and
can be shared to other languages.
EXCEPT, if you use language based functions.

i.e.:

if you do:
MessageBox.Show('My C#','My C# caption', MessageBoxButtons.Ok,
MessageBoxIcons.Information);
it will generate 1 line in your .exe, and the code can be used in a C#
application.
but, if you do:
Application.MessageBox('My C#','My C# caption', MB_OK, OB_ICONINFORMATION);
it will generate three or four lines of code, and it cannot be shared,
'couse the SDK compiler will have to find the functions in Delphi to
understand what you want.

in C#, we don't have this problem. C# have no external functions. everything
is framework based.
so, we don't need to be worried.

"Peter Herijgers" <unip001@xs4all.nl> escreveu na mensagem
news:4113502b@newsgroups.borland.com...
> I am talking about Borland products but what development tool to choose?
> Is C# better than Delphi 8 or is just only the program language different?
> Are there more functions available in C#, C++ or is this also the same?
> I have many years experience in Delphi so is Delphi 8 the right
development
> tool for me or should I considder C# or C++?
>
>
> Peter.
>
>


Loading