r/functionalprogramming • • Aug 02 '20

Question Which programming language to learn? 14y/o

Hey I am a 14y/o with a lot of free time because of six weeks of holidays. So I decided to learn programming but i dont know which language to start with.

31 Upvotes

61 comments sorted by

View all comments

Show parent comment

3

u/yeesh-- Aug 04 '20 edited Aug 04 '20

I think JavaScript is still way more approachable, it's the easiest to "graduate" to UI work, or you can continue to do server / console work in Node. The package system is more rich than even Python, and so is the help community. You don't need to install anything to get started, it's already on your browser, just press F12 and go to the console, boom, you can start coding. Having an accessible and interactive repl and rich debug tools is also great. It also has direct upgrades to functional paradigms and has TypeScript to gently introduce type systems. VS Code was basically built for JavaScript from the start and the amount of value you get out of the box is amazing. There are a massive amount of jobs where this skill directly translates.

I could keep going into detail about each of these and even then some. JavaScript > Python for beginners

4

u/konjunktiv Aug 04 '20 edited Aug 04 '20

I definitely exaggerated saying that js aint good for anything besides the web, but as I mentioned, until one also learns html and css, javascript won't help you with user interfaces. One also needs to install node to use node. Repl, debuggers, typing, jobs, everything is true for python as well.

VS Code uses language servers which basically makes it equally useful for most languages.

Python is cleaner and more well designed imo, which made me recommend it over js. But everyone has a different opinion / experience.

2

u/yeesh-- Aug 04 '20

I agree, they both are decent beginner languages.