Question:
What's the best programming language to learn C++ or Java or C#.?
FleX
2010-06-06 02:28:27 UTC
I want to develop software for any platform(cross-platform).and please define the answer.
and what programming languages do you know currently.?
Eight answers:
ʃοχειλ
2010-06-06 03:16:24 UTC
I know three of them very well. I could use all of them efficiently. For cross-platform development, C++ is the the first priority, and Java is the second. C# is not a priority at the moment because it is not widely accepted and used in UNIX-based systems (Linux systems).



I personally like C# most because it has features I have always wished and looked for in C++, but C++ never bothered to implement them (a clear implementation of property and event as well as high-level array data type and a simple to use foreach loop).



C# is more like Java (C# supports all aspects of desktop Java), but has many more features. Many of these features are from C++ (like operaotor overloading which Java does not support).



C# in .Net 2008 and after supports Linq which has hard-wired SQL-like query statements in language (as native language statements). It's really amazing.



C# and Java codes look much nicer than C++. C++ is sometimes a real mess.



C++ does fully support object-oriented programming (OOP), but a programmer may choose to avoid that. In C# and Java, you are dealing with OOP from the very first piece of code.



C# will be the language of the future.
jplatt39
2010-06-06 03:57:46 UTC
If you want it to be cross-platform, forget about C#. I know there is something called Mono for Linux and other Unix-derived OSes but it keeps crashing my Linux boxes.



Seriously, as top contributor Colanth says don't study a programming language: study programming. It is a discipline of applied math you can use just about any programming language -- including c# actually -- to learn. It's just that C# was designed -- even more than Objective C over at apple -- to embody the os-specific concepts of the company sponsering it. So actually it's the LAST choice IF you want to do cross-platform apps however if you want to learn basic programming concepts which you should anyhow even a confirmed M$ hater like me will say that's better than some other choices.



From that point of view, both C++ and Java have a lot of -- different -- advantages. I would frankly learn how to use cmd.exe -- THOROUGHLY and/or the bash shell -- the *nix equivalent -- if you use a Mac or Ubuntu at all, for example.
2016-04-12 04:08:05 UTC
Sounds like you work in a Microsoft shop. They're not uncommon and not just Microsoft-oriented. I know of one company where you can use any language you want so long as it's python or a derivative. So I really do have questions about the long-term viability of C# but I would go with it in the short run. Programming and computer science are a special instance of applied math and as such understanding what you are doing is more important than the niceties of syntax -- with a book once you have programming down you can write functional programs long before you are willing to admit you have knowledge of the language. In other words don't worry about it.
?
2010-06-06 02:37:16 UTC
Well, in my opinion, if you're going to develop software, it's a good idea to know just about every scripting language, at least the most commonly used ones(C++, Java, MySQL, etc.). No matter what platform, it's best to know many scripting languages because, if you can't do something with one language, most likely there is another language that you can. All languages are compatible, you just have to make them work together when putting them together(so if you put two languages in one file, you need to make them work together).



Hope this helps!
afzaalace
2010-06-06 02:33:15 UTC
C++ is better if you wanna go into application programming For web apps or mobile platform use Java.. C# is no use..
GrandUser1000
2010-06-06 02:30:15 UTC
I started with C++
2010-06-06 23:02:00 UTC
I have started with c++

after that its your interest in which technology you have interest.however both java and .net are cross platform.

I have done c++ and .Net(c#).
Me
2010-06-06 02:41:49 UTC
Try learning C++, but be warned, its a bit of a ***** to learn


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...