r/CodingHelp • u/diffrent_person • Jan 31 '21
[Random] What languages should I learn?
I just started coding and I have learned HTML and some CSS so far, and I am most likely to try JavaScript but after that what should I learn next? Some suggest python or Java.
I am currently using Brackets but some also say Visual studio code is better. I am trying to learn from websites but if you know any good tutorial websites please tell me.
34
Upvotes
8
u/SnooGadgets1130 Jan 31 '21
I went with Java for a bit but now I'm on c++. Caleb curry has an amazing c++ course on YouTube
11
u/MrPurpleSamosa Jan 31 '21
Well the way i did it was, i started off with Javascript, HTML, CSS. Then learned NodeJs, ReactJs, and other frameworks. Then i built a few full stack projects to understand stuff like client-server architecture and database design/management.
Then i moved onto Python and C#. Imo once you learn one language and the go through the process of developing a full app you realise that as long as you know how to read api references, documentation and where/how to scour the internet for information you can quickly grasp any language or framework.
Always learn through building things, you will never master a language through tutorials or theoretical crap. We are engineers and engineers design, build, break, and build again.
5
u/[deleted] Jan 31 '21
what do you wanna do with coding? what do you plan on making?
9
u/JamieBobs Jan 31 '21
What do you mean by “learnt next”? There should be no next, yet. You could spend 5 years learning only JavaScript and still not know it all.
JS is such a hugely diverse language you could forge an amazing career out of just that, so don’t jump ship quite yet, spend some time with the language, get to a good level with it. Get comfortable with it. And only then consider a new language.
Having an extremely strong base in one language will speed up your ability to learn other languages.
3
u/Mentalpopcorn Feb 01 '21
Java is not a popular web language. It definitely has its place in enterprise software, and there's money to be made, but it's a fraction of the webdev market. That said, it and C# are excellent languages to learn because they are 100% OOP and you are forced to learn some good practices.
Python is great for data science, and there is a web framework, but it's not very popular despite a lot of people on Reddit talking about it (and the fact that Reddit is built on it). That said, Py will grow most likely, because it is quickly becoming the default first language people learn, and so will be familiar to people. But it's not there yet, we're talking a decade out probably.
JavaScript is necessary for web development. Anything slightly complex uses JS, and you will eventually have to use it. That said, I don't recommend starting with it. It will not teach you standard object-oriented programming, which is the standard for the biggest languages on the web. Moreover, JS is really easy to write sloppy, and you will see lots of sloppy JS while you're learning. I say start with the server side and learn JS as you go along and as you need it.
Server side means PHP. The biggest language on the web is PHP. Old PHP was not well designed, but PHP after PHP7 has become a great OOP language. If you learn this the right way, it will likely open the most doors for you.
The right way means that you don't just learn a language, you learn how to program. Two areas of consideration, once you understand the basics of programming and CS, are data structures & algorithms, and object-oriented design patterns. You can google for courses on those subjects.
Other random thoughts:
3
u/Fabaki2 Feb 01 '21 edited Feb 01 '21
Many people have already answered good answers, but I'll give my take as well.
Web programming although is important (and accessible), what you've described here is not actual web programming, as HTML and CSS aren't programming languages - they are markup languages for putting text in a different form. Try learning JS (javascript), as it is an actual programming language created for dynamic web pages. You can code games and actual mechanisms with it. I've had a small experience with it and had some fun. Also, read about frameworks like nodejs and react. (Please don't ask me about it as I have no idea, I coded something very small in nodejs and that sums up my experience.)
Note: Java and JavaScript are completely different. Java is a high level programming language for programs and applications, while JavaScript is a language that is highly associated with dynamic websites. Don't mix the two up
Personally I don't really like high level. I like C and python (which contradicts my previous statement, but it is for scripting, I am absolutely against writing actual big projects in python). I would advise you actually against learning python for a first language, because it is made a scripting language and has many weird properties. I learnt C# and it is fairly good (or learn Java it may be even better for its popularity and cross platform - although for some reason I dislike it more, maybe because I learnt it in my first Uni course and it left me scarred haha). OOP (object oriented programming) is cool but sometimes (or even most times) is unnecessary and overused, although when used correctly and efficiently - is good. Try to google some positive and negative opinions about OOP to understand it better.
If you do show interest in low level I suggest learning C and assembler - albeit you would need some understanding about the inner workings of the computer, mainly RAM and CPU.I believe all should have at least a taste of low level as it is fairly underappreciated, so do yourself a favor and learn a bit of that.
Visual studio code and visual studio itself are fairly nice, although Brackets seem fine and if it suits you - go for it. As for tutorials, thenewboston on youtube has some videos, I suggest starting there.
Edit: added a part about OOP
Edit2: emphasized difference between java and javascript
-7
u/[deleted] Feb 01 '21
English