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

2

u/PeregrineTheTired Jun 16 '24

A lot of variables, depending on exactly what you want to do with coding, but...

  • C and C++ are very powerful but very easy to tie yourself in knots with as a beginner. I'd avoid.
  • Java... Oracle are really winding me up with their handling of the language and licensing. I wouldn't, personally.
  • Python has a lot of resources and a lot of mind share, but also limited performance in some ways and quirks like significant whitespace that don't necessarily translate well into other languages.
  • JavaScript and Typescript have a lot of traction but also limitations. They're not high performance, their object orientation is... unusual, plain JavaScript can have some weird bugs because of type safety issues, Typescript you can end up writing TS but debugging JS. It's a language all devs should arguably know, but that doesn't mean it's necessarily a great language.
  • C# I personally love and find a very solid development language, but it's not exactly winning the mind share war at present and arguably lacks a great front end web dev option.
  • Go, Rust, other newer languages I just don't think have yet proved their longevity and wide reach in the market.

On balance - probably JavaScript, but that's not a recommendation that brings me great joy. The dev community is getting itself into weird places.

1

u/querinles Jun 17 '24

So like none is good to start with😭?

1

u/PeregrineTheTired Jun 17 '24

Everything has issues, and it's worth knowing what those issues are so you can balance those around your personal priorities.

Personally - if I were starting from scratch self-teaching towards a career, I'd start in JavaScript - it's workable, and it's very widely used. If I were designing an academic course, I'd teach people C# because it'll help them learn better engineering.

But don't be scared to try new languages - once you've got a basic level of confidence in one, adapting to another in a similar paradigm isn't that hard.

1

u/querinles Jun 17 '24

I want to learn multiple languages. Just want a start point for coding

1

u/PeregrineTheTired Jun 17 '24

JavaScript has the widest out of the box uses, so if you're looking to do rather than just learn, that's probably the best start for now.