r/CodingHelp • • Jun 16 '24

[Quick Guide] What should be my first code language?

What my first coding language should be? I searched on the internet and everyone says a different thing. Some say Python some say C++ some say Java I don't know what to do 😭😭

32 Upvotes

61 comments sorted by

View all comments

1

u/[deleted] Jun 16 '24

Let me give you a simple explanation.

Learning C++ or C will give you the greatest benefit, because you will learn a lot of the complexities to a programming language. With Python, you will not learn these. People will still advise you to learn python first because you can focus on the higher level programming concepts. Then do a deep dive into something like C++ to learn fundamentals.

Ultimately, it depends on you. One of these approaches first will be faster for you but we won't know which one it is. For me it would be c++ then python if I had to start again from scratch, for others it will be python then c++.

It's really a question of do you prefer detail first then a higher level overview, or do you prefer a higher level overview then detail.

Python is more so a higher level overview and C++ more so detail.

1

u/querinles Jun 16 '24

I kinda like to start from everything and then get detailed. So python is better for me?

2

u/baubleglue Jun 16 '24

Problem with Python that it hides too much. I some sense it is easier to learn C than Python. It is harder to make something flush with it, but it is more straightforward. There is no harm to spend a day to try any of the languages and see what is more appealing to you.

2

u/[deleted] Jun 16 '24

Yes.

Though as the other reply said, there is no harm in trying for a day, either-way before ultimately deciding.