FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Why some people prefer C++?

 
Post new topic   Reply to topic    Cambodia eXPlore Forum Index -> Client - Server Side Development
Author Message
Singachea
fourth grade


Joined: 19 Nov 2005
Posts: 258

PostPosted: Sat Nov 19, 2005 5:06 pm    Post subject: Why some people prefer C++? Reply with quote

Hmm....

Any one can tell why sometimes some people prefer C++ to Java or C#? Some even say C/ C++ is more powerful than Java in field of Engineering. Is it that true?

I really wonder the new products such as Java and C# which are being updated are not better than the old one.

Back to top
guitarman
fourth grade


Joined: 04 Nov 2005
Posts: 728

PostPosted: Sat Nov 19, 2005 8:38 pm    Post subject: Reply with quote



Welcome to CambodiaXP, Singachea Smile
This is what i think: C/C++ and java is more hardware base product. You can write programme in those language and embed them into hardware (I have not experience doing so, though). Whereas Java and C# (Microsoft) is very well known OOP in the field of Internet or Desktop programming language. In fact, at my workplace, we use C# to develop an internet tax portal. It is a very powerful langauge used in the .NET framework. I hope this answer part of your questions (why people prefer C++ to C#). >>I have not known any one use C# for hardware or engineering stuff yet.

Back to top
simple*
first grade


Joined: 12 Nov 2005
Posts: 32

PostPosted: Wed Nov 23, 2005 12:35 am    Post subject: Reply with quote

Interesting point here =)

I have done a mini research too, on why some people prefer C++, because from my impression, I remember reading articles that mentioned people prefer Java and CSharp to C++.

Thus when you asked why people prefer C++, it triggers me to do some findings on this matter. And here, I have quoted an interesting portion from the conclusion of the article:

Quote:
There are several reasons to continue existing development in C++. C++ has compatibility with the existing code base in many businesses. C++ is also older, requiring no staff retraining in placed where it is already in use (Van Der Linden 1999). Java, which is loosely based on C++, can be learned relatively easily by someone with knowledge of C++. The major reason to continue using C++ is its completeness and critical features such as templates, multiple inheritance, operator overloading, etc,. Being tried and true, C++ is the better of the two languages and should be the primary language taught for those learning to program.


Reference Web Resource: http://www.public.iastate.edu/~ant1/Argument.htm

Back to top
Singachea
fourth grade


Joined: 19 Nov 2005
Posts: 258

PostPosted: Wed Nov 23, 2005 9:57 am    Post subject: Reply with quote

simple* wrote:
Interesting point here =)

Quote:
The major reason to continue using C++ is its completeness and critical features such as templates, multiple inheritance, operator overloading, etc,. Being tried and true, C++ is the better of the two languages and should be the primary language taught for those learning to program.


Reference Web Resource: http://www.public.iastate.edu/~ant1/Argument.htm


Oh, it's great to see this explanation. Thank u!
However, what is "operater overloading"?
I used to hear method overloading and method overriding, but never heard about this. Can you briefly describe about it?

Hmm... my school teaches Java, no choice

Back to top
guitarman
fourth grade


Joined: 04 Nov 2005
Posts: 728

PostPosted: Wed Nov 23, 2005 1:20 pm    Post subject: Reply with quote

I have created a new discussion on this post at http://www.cambodiaxp.com/forum/what-is-operator-overloading-c--vt25.html . Check out and let's discuss this interesting topic there Smile

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cambodia eXPlore Forum Index -> Client - Server Side Development All times are GMT + 8 Hours
Page 1 of 1



by phpBB