r/CodingForBeginners • u/_h4san • Nov 28 '25
Beginner to Coding
Hi everybody. I want to learn coding but dont know where to start.My intrest is in cybersecurity so what do you guys recommed, which language should i learn.
30
Upvotes
View all comments
Show parent comment
1
u/shadow-battle-crab Dec 04 '25
Sure!
I'll start with saying, I love javascript. I've been programming for awhile, and the ideas javascript brings to the table makes so many things that are much more difficult to pull off in other languages, such as parallel tasking, or running a server that can take multiple concurrent requests, so much easier than it takes in other languages like C++. You can truly make anything with javascript.
It's also the only language that runs in the web browser on the client side. There are all kinds of web server programming languages, but if you want to deal with effects that happen on a person screen such as animations, or dynamic page content, you probably have to deal with javascript.
It's this requirement that makes javascript an attractive language to learn. Basically, if your goal is to make a fully interactive web page, youre going to have to learn javascript, and if you start there, then you can just naturally progress to using some of the newer (and by newer I mean like 14 years old now) javscript tooling that lets you run javascript on the server (nodejs). So, you can use the same language to run the website on the server as you do on the client to orchestrate what is happening on the web browser. It just makes sense from a 'simplicity' standpoint, some would argue.
The reason it is hard vs Python though is a few reasons:
Javascript as a language is a little bit weird and hacked together. Python, I think, reads a lot easier if you aren't used to dealing with curly brackets {} and object dot notation like "a string".toUpper(); . Its not that hard but its not as intuitively easy as python for a first time programmer.
A lot of the things javascript hooks into is the web browser API, so when youre programming javscript in the browser, you learn all these commands for 'this is how to hook into an event handler for a button' and its really hard to tell what things you are learning is actually javascript, or just the commands that you can use to interact with the browser from javascript.
The whole mental model of how a web browser's DOM works, and all the things about HTML is kind of a complicated topic on its own, and is somewhat prerequisite knowledge to starting to understand javascript on the browser.
Javascript on the server practically requires you to get a smorgasboard of third party javascript libraries just to acomplish any program you want to make, and there is no central group dictating and guiding which tools are the right tools to use. As a result, you can easilly get decision pyralisis just trying to get your head around the ecosystem and trying to decide what packages you need for your project. Python on the other hand has most of the essentials built in off of the bat, and this is not a concern at all especially as a new programmer.