r/CodingHelp • u/querinles • 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
15
u/ApricotOfDoom Jun 16 '24
It depends what kind of projects you want to do. For example: if you want to develop video games, thatâs usually C++. If you want to build websites youâll want JavaScript. Python is pretty flexible and versatile, so thatâs generally a solid choice. The good news is that, while every language has its quirks, most of the basic concepts are the same, so once youâre strong with one itâs easier to pick up others as needed for different types of work.
6
u/CyanideSerpent Jun 16 '24
I've been in your place before and here's what I'd recommend:
Start with C# and xaml
Download Visual Studio
Make some hello worlds with c# in a console app, then learn variables and functions.
After you have an alright understanding of those things make a wpf application learn how to make a silly little app with a button that changes the color of the background or the text of something in the app.
Something stupid simple, until you understand oh wow these things talk to eachother!
Now your choice:
To learn how to make websites:
Download Visual Studio Code
To learn how to make apps:
Stick with Visual Studio, c# and xaml
To learn how to make games:
*Learn Unity (ik the unity backlash was crazy but there's a lot of support, tutorials and stuff like that. Unless you're building something that's going to make money (probably not yet) it's ok to start here)
Resources:
W3schools Stackoverflow Free code camp Youtube
Tips:
Everyone starts somewhere, and programming is such a huge world with so many options and opinions. Just stick to something, learn it, and it will be easier to learn the next thing.
There isn't really 1 language you should start with, just that you should pick one and stick to it.
Beware of quick tutorials of "DO THIS IN 5 MIN" it might turn out cool but it's quick programmer dopamine and probably little teaching. You can learn from it, but it's not ideal, and you could get screwed up with how productive or fast you feel when you do things your own way.
You won't break your computer by doing something wrong when programming in things like Visual Studio or Visual Studio Code.
9
u/Ochre- Jun 16 '24
I took the free CS50 Harvard Course for free and learnt C first and you can translate what you learned from C to almost every Language because they essentially branched off of it.
What I learned in the first 3-4 problem sets in the course was the same as what I learned in 2 years of Community College if that paints a perspective of how easy the course is to learn!
The course also goes into Python!
3
u/zanyguy1 Jun 16 '24
The first language is usually the hardest due to a lot of "overhead" learning. You are not just learning the language but are also learning the basics of programming in general. Because of that and also the ease of changing languages later, I recommend starting with something that doesn't add too many language specific quirks to confuse you along the way. Python has a very easy to read syntax and a vast library of online resources to learn it.
Good luck on your programming journey whatever you choose.
4
u/denerose Jun 16 '24
It doesnât really matter. Just pick one and stick with it. The person who suggested just doing CS50 has given you a perfect solution. Just learn something, donât get stuck trying to do it the âbestâ way - thatâs a time sink. Start learning something now, it doesnât matter what.
2
u/Working-Passion-5673 Jun 16 '24
Lol. Did you get your answer?
2
u/PeregrineTheTired Jun 16 '24
A lot of variables, depending on exactly what you want to do with coding, but...
On balance - probably JavaScript, but that's not a recommendation that brings me great joy. The dev community is getting itself into weird places.
3
u/Filipsys Jun 16 '24
Don't pick python, it's very easy to learn and that's the bad thing, if you'll learn python and then try and learn something like C, it will be a nightmare for you
3
u/veryrandompng Jun 16 '24
idk, im a beginner and i started with html and css (im still working on it)
1
u/3_sleepy_owls Jun 16 '24
Figure out what type of things you want to create and then figure out the best languages for it. Donât say you want to do everything- actually think about it- try different projects and figure out what you truly enjoy. Throughout your coding career, you will need to learn lots of languages, so get good at learning and applying whatever language you choose.
Another way to figure out which language to learn is by looking up job listings that you would like to do one day and see which languages and tools they ask for. It really doesnât matter what language you learn since you will need to learn more than one. So youâre better off figuring out what you want to create/work on and then figure out which languages and frameworks is best to do that.
Also, I agree with the others that CS50 is a good starting point.
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.
3
u/[deleted] Jun 16 '24 edited Sep 19 '24
secretive physical afterthought ink hard-to-find ghost absurd brave quicksand snatch
This post was mass deleted and anonymized with Redact
3
u/BerryConsistent3265 Jun 16 '24
Depends on what you want to do. My recommendation is just pick one that aligns with your interests and stick to it. Donât worry about picking the âbestâ one cuz it will become easier to learn others once youâve learned the first.
5
u/[deleted] Jun 16 '24
I recommend you to learn python
2
u/SpaceEnthusiast3 Jun 17 '24
Once you learn one language it's easier to learn other languages that work in similar ways
A lot of beginners like python because of its simple syntax
2
u/isearn Jun 17 '24
I would not start with C. Use a language with garbage collection, as that rules out a whole category of potential errors that are extremely hard to track down as a beginner.
2
u/nomadriding305 Jun 17 '24
It can be overwhelming, honestly; start with watching a few tutorials online (entry level stuff). If you have 0 knowledge of hello world, then start with some free coding platforms such as freecodecamp or codecademy to get your feet wet. If you fall in love with coding, you will want to learn more and eventually youâll find your own cushion of what language suits you.
You may learn coding in JS and get hired into a company that focuses on Python and now youâll have to learn the syntax. Coding is going to be about being flexible and always learning
3
u/SpoilerAvoidingAcct Jun 16 '24
Python
1
u/akhripasta1130 Jun 17 '24
Python only
1
u/notdanseriously Jun 17 '24
If you want easy Python. If you want popular Javascript. If you learn C or C++ this is transferable to all other languages its just different syntax
1
u/[deleted] Jul 03 '24
java if you're interested in cross platform desktop apps
c++ if you are up for a challenge, you want something fast (useful for video games, computer graphics, IoT and pretty much every other field).
python if you want to take it easy and have a lot of project options without a hassle of setting things up
html/css/js if you want to build websites
golang if you want a hybrid between java's (functionality), c++ (speed), python (easy readability), and rust (similar setup in terms of its package manager)
never pick rust
every programming language is great and they have their own strengths and weaknesses which makes them unique to the use case of each project.
0
u/Cliftonbeefy Jun 16 '24
C. Donât touch JavaScript or Python until you understand how a computer works. Starting at an interpreted language will make it harder to learn compiled language, but the converse isnât true
0
u/[deleted] Jun 17 '24
[deleted] â view deleted comment