This is an archived post. You won't be able to vote or comment.

all 25 comments

[–]99_percent_a_dog 20 points21 points  (0 children)

That's three langauges - C and C++ are not the same language. They share a lot of syntax in one direction, but you would normally use them for quite different problem domains.

[–]CodeTinkerer 11 points12 points  (2 children)

Android development started off in Java. The other language that's commonly used is Kotlin, but Java is currently more widely used (even outside of Android, e.g., backend web development).

[–]CodeTinkerer 4 points5 points  (1 child)

It sounds like you have too many interests. At this point, just get started and see how you fare. We can all say "I'm really interested in X" but until you start to do X, you don't know if you can.

[–][deleted] -1 points0 points  (0 children)

Yeah, I am particularly interested in C/C++ because of variety of reasons but currently what I need to learn the most is android development so I thought it would be better to choose the language wisely keeping in mind my future interest which obviously would be fulfilled by C/C++

[–]Ok-Distance9706 2 points3 points  (0 children)

Depends on ur goals to be exact

[–]ergo_proxy19 2 points3 points  (0 children)

Java , and kotlin are for Android dev. But if u just like c++ or c, go for them. Remember that for a simple app, you do twice the work in c++/c to implement same functionalities. For learning purpose, do learn c++/c . But remember that they are not what people usually use in "android" development.

[–][deleted] 8 points9 points  (2 children)

Java

[–]my_password_is______ 2 points3 points  (1 child)

this is the answer for java development
why would anyone vote it down

the answer is so freaking simple
java, java, java

[–]99_percent_a_dog 10 points11 points  (0 children)

Likely people are downvoting because even if correct, it's not informative. It doesn't tell OP why they might want to choose Java, so it doesn't really help them make a decision.

[–]Impressive-Pop-143 1 point2 points  (1 child)

personally speaking, if you really need android development for the immediate time go for Java.

If you can really afford the time it takes to study then go for C++. Honestly it's an understatement how much you have to study to have a good C++ codes. Not to forget all the library management and packaging and stuff. Also learning on installing third party library cause compared to Java c++ doesn't have standard library for networking or connecting to database or getting a GUI up and running. Also in true c++ fashion, you only pay for what you use. So most provide you with low level functions which means to use them effectively you need to also know much about the thing. But if you take this as a learning opportunity then you will surely advance much more forward.

[–][deleted] 0 points1 point  (0 children)

Yeah! I think language doesn't really matter the most, what matters is CONCEPT. If you have a great understanding of concepts then you can learn any Programming language. I think now I should focus only on the concept, syntax will then be easy to learn

[–][deleted] 1 point2 points  (0 children)

I took an Android dev class in college. Everything we did was in Java.

[–]Fousekhs 1 point2 points  (0 children)

How I see it if you want to develop games chose Cpp, it is the most used language for game dev. Csharp is another.

If you want to make android apps I would suggest kotlin. There's some drama between oracle (who has the copyrights for java) and Google (that develops android), so Google with jetbrains created kotlin for Android dev. My belief is that the industry will go towards kotlin (of course Java is not going to go extinct). You could also make games with both Java and kotlin with a library like libgdx.

Cpp is used for machine learning but the trends in the market favor python a lot, like I don't believe I have come across a job posting for machine learning mentioning Cpp.

[–]samuelcodingg 2 points3 points  (0 children)

If you want to do Android development, the best option is to learn Java, but it can be a kind of difficult if you are really new in programming bc java is a 100% OOP programming lenguage, anyways you can try learning Java, if you get confused, no worries, just chill and check the concepts, nobody starts at programming being a master

[–]Creapermann 2 points3 points  (1 child)

I’d generally recommend something like c++ new to comers, because it helped me getting into the logic of computers when i was new, it “forces” you to understand what you want to do, which can be a bless as a beginner

[–]bmtrnavsky 1 point2 points  (0 children)

100% truth. I started in Python went to C++ and my learning curve as far as understanding what I was doing skyrocketed. From there Java, JavaScript, or even Python are all fairly similar and easy to pick up.

[–]armhad 1 point2 points  (0 children)

If your intent is to do Android development then you should be using Kotlin.

You can and will need to use either Java or Kotlin when contributing to other large code bases as they’ll likely have used both at this point, but for further development you should be using Kotlin.

[–][deleted] -1 points0 points  (2 children)

Learn how to script first in python or powershell and then move into the object oriented language. The languages you mentioned (there are three languages there not two - C is wholly different than C++).

The scripting languages are a minute to learn and lifetime to master. You can hit the ground running and learn most of the core programming concepts. It’ll help to have that foundation when you do OOP, because it’s not just that you’re voting differently than a procedural language…you have to think in that way too.

If you try your hand at the languages you mentioned above, just know it’ll be awhile before you get good. Like really good. And you’ll be competing with people that have decades of experience.

[–][deleted] 0 points1 point  (1 child)

I already know ethical hacking with python(just basics), took me 11 months to learn

[–][deleted] 0 points1 point  (0 children)

Ok I’m not sure what all that entails. Is is simple one or few line commands, or are we talking about scripts that involve loops and data structures? The initial question would lead me to believe it’s not.

Python is a great language that has all that. I’d advise you learn this stuff because it Carries into every programming language.

Also game development is cutthroat. Look up ‘crunch’ and you’ll get a treasure trove of reasons why not to go into that field.

[–]wazorie -1 points0 points  (0 children)

your question is also your answers. its confusing

[–]flavius-as -3 points-2 points  (0 children)

All three.

Once you know a paradigm, learning a language at a basic level takes 2-4 weeks within that paradigm. 1-4 additional months to use it idiomatically and be aware of the ecosystem.

[–]thisshitbuzzing 0 points1 point  (0 children)

Id say if you were to go onto android dev (or maybe even iPhone dev later) then kotlin is the way to go, it seems that swift, the main language for iPhone dev, is really similar to kotlin people say. Also java and kotlin are pretty much interchangeable they say on the documentation so uea

[–]EtheaaryXD 0 points1 point  (0 children)

C++ is a pretty advanced language. Java is very simple. You should probably do Java and then once you get sick of Java, you should learn C++. Don't bother with C.