Re: Visual C++ Book
"MrAsm" <mrasm@usa.com> wrote in message
news:j9qt03t7j2bjmd5p581g18id2eu8da0337@4ax.com...
On 31 Mar 2007 10:09:32 -0700, "Ajay Kalra" <ajaykalra@yahoo.com>
wrote:
Its one or two clicks to create a simple C# Winform app.
This is true.
It's also true of C++/CLI Winforms apps... of course I wasn't talking about
generating skeleton of a program!
I do agree. And there are other simplifications of C# over C++: from
the unified dot-notation (just "." and no more :: or -> or . ...)
This actually was what prevented me from writing code very well in C#. It
doesn't make sense to use '.' for all purposes. It looks cleaner, but you
lose meaning when you ram 3 meanings into 1 symbol. And not clearly
defining what is a pointer and what isn't looks real strange. But now that
I know that C# is obfuscating these things, I can mentally translate and it
will make sense, and I can code in C# now. Ha, I like that: C#, the
obfuscating language.
to
automatic memory management, to properties, to built-in unified
Unicode strings (no more TEXT()/_T(), L"...", WCHAR *, CHAR*, LPCTSTR,
wchar, BSTR, CString, CString, CStringW, CSuperString :), no more
memory leaks, etc.
These are the same advantages C++/CLI enjoys.
-- David