Re: C++ vs. C#

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I think that it's the .NET that makes C# interesting. If C++ were easier to use with .NET I'd be inclined to use it instead of C#, but C++ tries to hang in both worlds and is encumbered by "standards", etc. C# is simple and has easy access to hundreds of APIs that come "in the box".

I agree with that you that porting an app to C# from C++ doesn't make a lot of sense, to a point. MFC is still a power framework that has sort of stood the test of time, but it's starting to show its age more and more (even though there have been some nice additions lately. Still, if the application is doc/view and you want it to be native, MFC is still a great way to go IMO. Not sure why applications would have to be native these days though.

The best reason to use C++... these newsgroups. Great support and great community :o)

Tom

"Ajay" <ajaykalra@xxxxxxxxx> wrote in message news:f91d085c-eed2-428e-85d0-961943f55f4a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 8, 7:41 pm, "SteveR" <maxsrussellatremovethisembarqmail.com>
wrote:
An IT guy where I work asked me today why I am using C++ when I could be
using C#.

He is experienced with C++ and says that C# saves so much time and that
there basically is no longer any reason to be working in C++, at least in
most circumstances. From what I know of him, he does a very fine job in all
respects of his job. So I value his opinions, but I also am real interested
in what responses I might get to his question/statement from this newsgroup.

SteveR

There is no perfect answer for this. C# is a very friendly language
compared to C++. Its easy to be productive in C# in a short amount of
time compared to C++, which will easily demand much more. If I was
someone starting out today, C# is where I would look. In today's age, C
++ is a specialized language. Also, it may not make any business sense
to move an existing C++ code to C#. You gain almost nothing. Any
existing C++ shop is likely to continue with using it.

Going forward, C#/.Net is where the action is and some of the features
that .Net offers(threading, async programming etc) are so compelling
that once you use them, you would feel that C++/MFC are more than a
generation behind.

--
Ajay

.



Relevant Pages

  • Re: I invite all to call the Dearborn County IN Sheriffs Office
    ... Newsgroups: misc.health.alternative ... websites that show your relatives removed, ... No, I don't, and there is no reason to shout. ... Mark, Mark, Mark, prove your claims. ...
    (misc.health.alternative)
  • Re: Outlook Toolbar in Access
    ... I AM NOT referring to my answering over 1000 NG posts. ... me for help after not getting the help they need from the newsgroups (not ... and now I am getting between 5 and 10 new requests for help a week. ... My reason for doing this is the same reason why other consultants are using ...
    (comp.databases.ms-access)
  • Re: Everyone must be doing very well or are feeling very awful. 2days of"no posts"! Which is it?
    ... newsgroups. ... use, I could care less if I even ... whatever your reason was for changing the heading of my thread ... who seem to have Satan himself stuck to them and in reality, ...
    (alt.support.chronic-pain)
  • Re: Bus driver refuses to drive "no god" bus
    ... years of age. ... because until the 'dawn of educational reason' ... invisible sky wizards weren't discounted in the same breath as santa ...
    (uk.philosophy.atheism)
  • Re: For creationists and ex-creationists
    ... Suppose that for some reason, you reverse your views on creation and ... For the life of me I don't know why I was not more curious ... At age 7 I was told about the man in the red suit. ...
    (talk.origins)