Answer the question
In order to leave comments, you need to log in
The dilemma of choosing between C++ and Java
Hello. I will introduce a little in the course of events.
Before entering the university, I had fun with Java for a month or two, nothing serious, it was just interesting, I got stuck on the OOP. When the studies began, we began to learn C, I treated him with a cool. But in the second semester, I started C ++ OOP, which at first scared me, but over time began to delight me insanely. I’ll make a reservation right away that programming is not our core subject and a lot has passed us by.
The year is over, there will be no programming in the second year. And so I have a question, what to learn then? Either continue C++, or return to Java. For reasons I don’t understand, I like Java more, and C ++ seems to be a more serious language, the only thing that raises doubts about C ++ is the complexity of development, including for Android (judging by hearsay).
Below I will describe in general terms what I want from the language:
1. Try Android development (I don't know how difficult it is if you use C ++ instead of Java);
2. Indie gamedev (madly admired by Notch and again, I don't know how expensive it would be to implement Minecraft in C++);
3. Development of desktop software. To some extent, this is a simulation of physical. processes and programs that count "big numbers" are generally related to science (secondarily and for fun);
4. I am considering the possibility of a part-time job in the near future.
Habralyudi, all hope is on you. Perhaps the list of expectations is vague, if you have questions - ask.
Answer the question
In order to leave comments, you need to log in
>> I like Java more for reasons I don't understand
Write in Java. If you want, you can move to C ++, although not without difficulty.
Of course, I am not an expert, and I do not pretend to be much more than IMHO. But my IMHO is still JAVA.
1. Under Android, JAVA is still more or less native technology, which removes a lot of problems.
2. In terms of indie gamedev, JAVA at least offers quite a viable cross-platform.
3. I do not undertake, because I did not come across.
4. The corporate sector has definitely been interested in JAVA for a long time, so there shouldn't be any problems either.
The choice between c++ and java (add .net c# here) is no longer a choice between programming languages and syntactic sugar, but a choice between frameworks (libraries) that come with (or for) that language as the 'default standard'.
Moreover, these languages are so similar, they came out of the same bosom of the 'old c ++'!
And this means choose what you like, but be prepared to just learn one more framework (and a little bit of language constructs), because a programmer who is not ready to learn something new ... looks weak and is doomed to failure in advance.
Start with C++ and C, preferably with C++11 and C11 right away, and then learn Java if necessary, it will be too difficult in the opposite direction, as they say - to be able to write well in Java\C# you need to know C.
C++, Java, and C# are all equally serious languages. Don't worry. Choose what you like. It's best to just try a little. Add Python and Ruby to the list.
However, rPman's colleague is right. In real life, frameworks are more important. I would also add the importance of design patterns (patterns).
Look for courses on programming languages on Coursera and edX : there are a lot of tasty and useful things, there are often Russian subtitles. And by the way, yes. The most important thing is to learn English! :)
As for me, if you understand OOP in C ++ normally, then you can safely go to Java, if you like it, it is really friendlier at first. C++, on the other hand, provides much more means of working with a computer than java. I think Notch would be loved even more if Minecraft was made in C++. Then he would most likely by this time not require so much RAM for a normal game.
Java. And take a closer look at Clojure =)
I have a good friend of a programmer who in the past (and present) is a C'shnik,
studies Android - writes a program for fluid modeling.
He also wants to write a toy on Android,
some kind of clone ...
I can introduce you - you will write together.)
And by what criteria do you like Java more?
1. C++ And Java in case of games. Otherwise, only Java will suffice.
2. Depending on the platform. Maybe C# in Unity is enough.
3. C#.
4. If the subworking is for PHP, Ruby, it is easier to find it.
If you do NOT plan to engage in low-level system programming and writing drivers, then DEFINITELY JAVA.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question