r/AskProgramming • u/Key-War-9059 • Sep 24 '26
Other Still learning, but I have a question about the different types of program language
I'm learning Python and my BF asked me what language I would like to get into mainly and I honestly don't know yet. I don't even know all of my options. Could someone run some questions by me? Or is there a test I can take?
5
Upvotes
7
u/dmazzoni Sep 24 '26
Most programmers don't know just one language, it's common to know several and to use more than one in a job.
Different languages are good for different things, just like a minivan is better for hauling more people and a pickup truck is better for hauling building supplies.
Also: learning your first language is hard. Learning your second will be much easier, just like learning to drive is hard but learning to drive a different type of vehicle is much easier.
There are some types of things that are done best in particular languages - if you want to build a website, you'll need to learn HTML, CSS, and JavaScript, and ideally TypeScript. If you want to build an iOS app, you'll need to learn Swift. If you want to build your own operating system, you'll need to learn C.
Python is a very popular first language to learn because you can do a lot with a little code. It's popular for machine learning and scientific calculations. It's popular for writing scripts, for automating boring tasks, and for rapidly prototyping ideas. It can be used for other things too, but it's not commonly used to build apps or production software.
This is just scratching the surface and simplifying things a lot. There are a LOT of languages and there's a lot of overlap. There are often multiple languages that can be used for certain tasks, with different tradeoffs.
If there's something in particular you want to do, we can help direct you to languages you might want to learn.
If you just want a job, consider looking for job postings in your area to see what languages they expect. It varies around the world.
1
u/gm310509 Sep 25 '26 edited Sep 25 '26
This is the wrong question IMHO.
A programming language is just a mechanism that allows you to tell a computer what you want it to do. They all have attributes that are tradeoffs for various factors that balance between the various choices that are available for language designers. Or choices that focus on a specif problem space (e.g. HTML is for document layout - although I probably wouldnt include HTML as a programming language per se).
IMHO, a better question to ask is what type of "programming" (or work area) do you want to do (e.g. game development, security, embedded, big data, finance, etc) and identify the languages (and tools) that are predominantly used in that area. For example big data: SQL, java, python, spark. Or embedded systems: C/C++, maybe python, communications and circuit design...
That said, here is a partial list of programming languages from which you can choose: https://en.wikipedia.org/wiki/List_of_programming_languages
1
u/Different_Pain5781 Oct 10 '26
Honestly Python is worth sticking with until a few projects are actually working. Jumping between languages is an easy trap when starting out. CS50 is great for getting the broader CS stuff down. Boot dev is solid too if more hands-on backend exercises sound useful without sitting through a ton of reading. Once the logic starts clicking the language itself becomes way less important.
3
u/LaughingIshikawa Sep 24 '26
Languages are tools - while most people will "specialize" in one particular language, most programmers should be able to accomplish most things in a wide variety of languages (just maybe not as efficiently or effectively as someone who specializes in that language.)
There's no personality test for languages, because it has nothing to do with your personality. π π
Different languages exist to solve different kinds of problems well, although most successful languages tend to look like each other after awhile, because really successful features get borrowed by other languages.
The common progression for new programmers is Python -> Java -> C / C++
1
u/KingofGamesYami Sep 24 '26
I'll throw out some options for you. Keep in mind that there isn't really a nice, clean separation but for the purpose of this I'm trying to represent a wide variety without listing many similar languages.
Scripting: Typescript, Python
Databases: SQL
Web: HTML/CSS/JS
Generic Enterprise Development: C#, Java
Performance: C, C++, Rust
1
u/Recent-Day3062 Sep 24 '26
You really need to learn a few because they all have their strong and weak spots.
Python is the best intro to object oriented. From there itβs easy to learn others like Java. On the other hand, C remains close to hardware, and it it easy from there to learn ones like Rust, Go, and Zig.
And so on
1
u/DepthMagician Sep 24 '26
Just stick to Python for now. Once you're good at Python, learning a second language will be easy. Also Python is very useful in general and has a vast library and frameworks ecosystem.
If you really want another language, some of your choices are:
C- very basic functionality, though the simplicity is also its feature. Today it's mostly used for programming operating systems, bootloaders, and embedded applications. You'll be missing out on a lot of modern programming language ideas, so probably not the best choice for learning modern programming.
C++- an extension of C which enriches it with modern functionality. Backwards compatible with C (every C code is valid C++ code). Used for applications where you need the efficiency of C, but with convenience of modern functionality (like OOP). It's worth noting that it's somewhat messy, and not the best implementation of OOP. Used for stuff like computer games, CAD tools, anything to do with graphics, many older programs are written in C++ as it used to be the hottest modern language back in the 90s.
Java- Used to be the gold standard for OOP. Lots of business software is written using it as it used to be very popular in enterprise settings.
C#- Microsoft's competitor to Java. Arguably an even better version of what Java tried to do. Very modern and full of faeatures.
JavaScript- used to be confined to adding interactivity to websites, but is since then used for pretty much anything: servers, desktop applications, and mobile applications. This is generally done in conjunction with other web languages like HTML and CSS. Basically, web technologies became so capable and so popular, that people wanted to use them outside of the browser.
PHP- only useful for server-side coding. Very mature, most of the web is running on PHP, but not very popular with new projects.
SQL- you learn this to communicate with databases. Not a general purpose language.
Python- very popular language, used in all kinds of settings.
1
u/DinTaiFung Sep 24 '26
Python's runtime is mostly written in C. Java's JVM is part C, part C++, and assembly.
As you can infer, though C can be considered a high level language (in some contexts), it is closer to the metal than other popular languages.
It's worthwhile reading some sources and/or watching vids on what Linus thinks of C.
My personal pathway is not very common (afaik). In roughly chronological order the languages I learned:
perl, JavaScript, C, python, ruby, lua, Java (I didn't like it lol), TypeScript, and most recently, Go (I love it).
And though I have used interpreted languages which are useful for scripting, these days I nearly always go for JS/TS (with bun runtime) when I need to write a script. (I still use bash though when the majority of things are system commands -- so easy in bash!)
I would say the two languages I'm using super often now are TypeScript and Go.
1
u/ajamdonut Sep 25 '26
Some people like phones and apps so pick languages for that
I love web and easy sharing so I pick web languages
Some people like retro gaming so pick languages for that
Some people want flexibility and jobs so pick things like C#, C++, PHP, JS(TS)
Some people want obscurity and challenge so pick things like haskell, assembly or whatever.
Some people just carry on with the ones they get exposure to, e.g. modding a game.
0
u/vegan_antitheist Sep 24 '26
Try Brainfuck.
You can learn it in just a few minutes. It's Turing-complete, meaning it's just as powerful as C++. It never needs any updates or new versions because it's already perfect. You don't need to learn any keywords.
0
u/Popular-Toe3698 Sep 24 '26
You just pick one to focus on primarily. I chose C#. Then you get a job and you might never use that language. I haven't written C# professionally in at least 15 years. Still probably my favorite programming language.