r/AskProgramming • u/kkk00677 • Jan 22 '26
What programming language is the easiest to learn for a absolute beginner
I want to learn a programming language but I don't know anything about any of them. I was looking to start because it seems interesting once you know how to do it. I tried learning c++ a few years ago but it seemed to complicated for a begginer,i heard python is better to start with but im looking for other people's opinions.
23
Upvotes
4
u/Jigglytep Jan 22 '26
Python is a great choice!
I will point out something that is obvious only after you have experience.
Programming/coding is a skill you have to practice it in order for it to stick.
Keeping that in mind how do you want to use programming?
Python is great for: make your office job easier by automating tasks and email replies, creating spreadsheets etc… it’s also awesome for making backend and CI/CD automation stuff and LOTS MORE.
do you want to build an mobile app look at JavaScript so you can use react native or flutter.
If you want to make video games look at unity engine and C sharp.
Not to be to hippy dippy what do you want to do?
3
u/Upstairs_Service_230 Jan 22 '26
Python is indeed the easiest language to learn as it has very simple syntax, it should at best be way easier than something like C++. What do you want to use programming for?
18
u/_Atomfinger_ Jan 22 '26 edited Jan 22 '26
Most would say Python.
I would say that it doesn't matter all that much in general. C++ is steeper than most languages, but there's no "easiest" language if you don't pick those that are notoriously difficult to be good at.
The challenge more often than not lies in constructing logic - not the syntax and language itself.
15
u/shadow-battle-crab Jan 22 '26
Python is hands down the right answer. It reads like english and doesn't do anything more than what is on the screen. There is a lot of layers of prerequisite knowledge you need for why things act the way they do in C++ and Javascript that just isn't important in python. The skills you learn in python are usable for real serious projects and are also portable to other languages.
I'd elaborate, but this topic has been beat to death. Google this question and you will find 100,000 discussions on the topic.
14
u/qruxxurq Jan 22 '26
BASIC
4
u/llynglas Jan 22 '26
If it was more popular I'd say Pascal. With one exception a very clean language.
4
u/[deleted] Jan 22 '26
To learn: C. To use: Python.
C has just a few constructs which are quite straight-forward to learn. You can shoot yourself in the door in a million ways, and getting something significantly done will take a lot of work compared to other programming languages, but in my view it makes it easy to learn.
2
u/photo-nerd-3141 Jan 22 '26
Perl is easy to start with, has excellent documentation.
C is the guts of everything else, has only 32 words :-)
BASH is useful on day one.
1
u/Sylphadora Jan 22 '26
Python
1
u/Neozite Jan 22 '26
Many people have mentioned Python, and the language itself is beginner-friendly. I would suggest Javascript, however, for this reason: if you have a web browser, you can begin writing code and seeing interesting effects right away. You can do that through any browser's developer console, but you can also start as easily as writing it in a text document and loading that document in a browser. Make some changes, reload. At the very least you'll learn variables, control structures, functions, and other fundamental concepts.
1
u/platinum92 Jan 22 '26
The one you spend time on. I've seen Pythong, C# and Java used as beginner languages in my time. Whichever language you learn, you're going to be learning the same basics of variables, data types, iteration, conditionals, etc., which will be relatively transferable to other languages.
1
u/Anxious-Struggle281 Jan 22 '26
Python
1
u/Callierhino Jan 22 '26
I would say try C++ again, you will learn about the fundamentals of programming and OOP faster. Python is perhaps easier, I started with Python and then Java after that, but I found that I learned more about programming from Java.
What and why are want to code is also going to play a role in what language you want to code. If you want to build desktop or phone apps you need to learn how to use a language that is going to do that job for you, you can't really build apps in python, for Android apps you need to use Kotlin or Java and for IOS you will need Swift.
If you want to work with spreadsheets Python is fine, but you have to understand what data types you are working with because it is easy to get them mixed up when you are new to programming
1
u/klimaheizung Jan 22 '26
Forgot people who say python. It's wrong.
The correct answer is javascript. The reason is that you have ALL tools you need already. In fact, the only thing you need is to create a new file on your computer called `letsgo.html` and fill it with some code and doubleclick it and it will open in the browser and you see the results. Done. Now you can make changes to the file and change the code there and just reload it in the browser and see the changes.
1
u/gm310509 Jan 22 '26
Only a few people have mentioned Pascal.
I would suggest it as well because it is very clean and consistent and thus easy to pick up. But, it isn't that commonly used, so examples, guides and classes will be harder to find, but there will be enough to get going with.
An alternative is BASIC, while easy to learn and get going with, it is less common and far less consistent than pascal. There are so many variants. Also, it isn't really a structured language like Pascal is.
Pascal can then lead you into more complex languages such as C, Java, python or any of the other mainstream languages.
The main purpose of learning Pascal is to learn about syntax, programming structures (e.g. if, loops etc) and programming concepts (e.g. debugging, algorithms etc). These are all transferable to other languages which are more mainstream.
1
u/thetraintomars Jan 22 '26
Logo. You get visual feedback immediately. You can figure out loops and recursion without even trying. No pointers. I think there are some browser based interpretaters.
1
u/GeologyPhriend Jan 22 '26
R
1
u/ingframin Jan 22 '26
It doesn’t matter. Pick one and start studying and building stuff. You want to go mainstream? Take Python or JavaScript. You want to go low level? Take C or Zig or D. You want to go old school? Pascal and Basic are there. You want to be more exotic? Julia, Common Lisp or Ada… Good luck!
1
u/squat001 Jan 22 '26
Why do you want to learn to program? What sort of things do you want to build? What sort of system do you have to learn and write on? How much technical/ computer knowledge and experience do you have?
There is no one programming language that’s going to be easiest for everyone. Python and JavaScript are often called out as they are very general languages and easy to get started while being very powerful, as in can be used to build real world useful stuff.
However, neither are easy compared to block based programming like scratch which is great to learning basic structure and programming core ideas, but only run in an isolated environment so not very useful outside of education.
1
u/connorjpg Jan 23 '26
Go.
Personal bias but I like it for beginners
1
u/Prestigious-Feed6101 Jan 23 '26
Crack open a windows or Linux terminal and start learning Bash or power shell commands. Then learn to start writing scripts to automate boring tasks with Bash/ Linux, power shell/ windows Just to get familiar with the kind of basics of the flow. It’s useful to know and can be fun starting out. Then pick a common language Linux/ python, windows VB.net. Start with small programs and get bigger. Stick to one language at first. Have fun!
1
u/Lanmi_002 Jan 23 '26
Go for C. Not as easy to build cool looking stuff at the beginning but it will teach you alot of things that you will learn to appreciate later on. Things that cannot be taught in python
1
u/Nondv Jan 23 '26 edited Jan 23 '26
in Eastern Europe people teach (or used to) Pascal. Python's got very popular too
I think it depends a lot on what you're trying to achieve.
Unpopular opinion but I'd use JavaScript because everyone uses web and browsers are basically big interactive js environments (think Smalltalk's retarded brother). I just think it's got a big potential to be engaging tool for teaching programming.
If you want people to start thinking like a programmer (not just algorithmically in general), Pascal is a good entry tool. it forces you to think before coding: types, names, etc. And it's close to the algorithmic language (not sure if it's a thing in English?). You read thr code and you understand what's going on without even knowing the language. (altho in more"professional" pascals there were some unintuitive things like passing variables as a ref, which isn't a natural way to think)
I don't think python is a good choice, personally. Too much magic, inconsistent syntax (procedural vs oop). If you taught me python as a first language, I'd keep asking "why is it this way?" and you'd likely have to say "don't worry about it for now". While in Pascal it reads like very strict English. But Python's got a lot of high level batteries included which is great to grow into so it is a practical and flexible choice (can branch out)
UPD. i now realise i wrote this like im giving my opinion on teaching programming, not learning. OP, our advice is meaningless since you can't possibly judge the value of it. just pick up a book for complete beginners. it doesn't matter which one as long as you understand what's going on and can easily follow along. Im assuming it's gonna be python since the market's oversaturated with it. Food for thought: if it's oversaturated, it might be harder to find quality. Maybe also give something less common a try too
1
u/Abdullah_Khurram Jan 23 '26
Every language will give you a hell of a time. No one is easy.
Here's a top list to learn
They all are superb
1
u/huuaaang Jan 23 '26
Scratch.
1
u/NortWind Jan 23 '26
I would say Logo. Pascal after that.
1
u/burncushlikewood Jan 23 '26
Scratch! But realistically programming languages are very similar, I wouldn't say any language is necessarily beginner friendly they all have the same control structures and functions. If you struggle learning c++, you'll struggle with other languages as well
1
u/RealNamek Jan 23 '26
HTML
1
u/WindwalkerrangerDM Jan 23 '26
No one is saying c#, which makes me sad.
1
u/nojukuramu Jan 23 '26
Start learning Python. However, you still need to transition to other languages such as Java or C. Learning Python will assist you in understanding programming logic, which is fundamentally similar across various programming languages. Subsequently, transitioning to languages like Java or C will enhance your comprehension of how different programming languages operate from a general perspective. This approach will facilitate a quicker learning process for other languages.
1
u/Pikkuveli Jan 23 '26 edited Jan 23 '26
First, find out what you might want to use programming for. It's easiest to stay motivated and learn, if whatever you develop has a specific use-case and not just a theoretical one. So what actual problems or annoyances do you want to solve - and for which platforms? Do you need something that works in a restrictive corporate environment, on your phone or as a desktop app at home? Do you want to create modern GUI apps, or simpler console apps? Do you need it to be multi-platform or just for one OS?
If your main focus is something easy and you don't care about it being industry standard, some good options for multi-platform, desktop GUI development in my view are:
BASIC variants - BASIC variants are not as popular as they have been, so the communities are smaller, but modern BASIC variants are very capable, source code is quite easy to read and understand, and you can compile modern desktop apps. If it's just a hobby and you don't care about what development skills companies are looking for, BASIC could be a good option:
Pascal - Also another cool option. Like BASIC, Pascal also has a long history and is not as popular as it has been. But the language is mature, quite intuitive as a learning language, and there is a nice, free IDE with a visual form designer called Lazarus.
Python - Python is (mainly) a scripting language, so it is typically not compiled (your source code is shared, if you want to share your result) and it the end-user must install Python. It's not very fast for big tasks, but it's very popular, which is beneficial.
Since you want something easy and don't plan on coding professionally, I suggest staying away from C, C++, Rust and so on. Their learning curves are relatively steeper than the ones I just mentioned.
1
u/[deleted] Jan 23 '26
Python would be definitely better than C++ as the first language to learn. If it were some years ago, I would suggest VB as a first language to start with.
1
u/polymath-nc Jan 23 '26
Visual Basic. I was already a longtime Windows developer (1987) when I was hired for a project using VB (1994). The ease of designing the user interface and the way you can modify the code during testing reduced stress immensely. My last Windows job was in 2017, so I've been out of the loop for a while, but it made a great impression on me.
1
u/ActuaryLate9198 Jan 23 '26 edited Jan 23 '26
Go (for its simplicity), Java (Processing is great for getting started), C# (Microsoft Java). Strong typing is a must for beginner languages imo, or you risk picking up all sorts of bad habits. I would say typescript but the tooling can be somewhat overwhelming.
1
u/NullTerminator99 Jan 23 '26
I would say go with C#. From there you can do C++.
My first language was Java in college. Then JavaScript and then C#. I think C# has been the best so far.
1
u/TheAvinashJoshi Jan 23 '26
Start with angular framework where you learn typescript which is modern and well adopted in current market
1
u/[deleted] Jan 23 '26
HTML
1
u/andycwb1 Jan 23 '26
I would suggest Python or Java. Both are high level and isolate you from a lot of dependency on the underlying machine representation of the data.
1
u/[deleted] Jan 23 '26
css and javascript are kinda easy, (didnt include html, because html is not a prgramming language)
1
u/lovelybullet Jan 23 '26
JavaScript or python
1
u/Charlemagne87 Jan 23 '26
Try javascript it easier than python
1
u/poliver1988 Jan 23 '26
As much as I hate it, probably Javascript.
Python is gonna confuse the f out of you when you gonna switch languages but on it's own its an easy first language.
JS is kinda only curly braced language that doesn't require setting up compiler toolchain and stuff. Just type stuff in a notepad and open in a browser.
1
u/Acceptable_Simple877 Jan 24 '26
Python or web dev
1
u/thehomelessman0 Jan 24 '26
You could do Scratch, which is designed for children to learn programming if you really want the easiest possible avenue. Python is good for beginners, but I always find setting it up to be a pain in the ass and a possible barrier to learning. Javascript also isn't that hard.
1
u/VisualSome9977 Jan 24 '26
Python, but I don't think ease of learning should be the deciding factor. I would recommend almost any other language before recommending python to an actual beginner, assuming your goal is to learn. If your goal is to build something that works, use python. That's what it's for. But if you want to actually learn how to program in a meaningful way, don't start with python, use it when the need arises, but learn something that will provide you with more meaningful fundamentals. Just a thought
1
u/Cutecummber Jan 24 '26
Learn functions and loops syntax in python and then start your C journey immediately
1
u/Impossible_Ad_3146 Jan 24 '26
There’s no programming in construction work or plumbing. Any trades.
1
u/p3e2r Jan 24 '26
Python. With the Pycharm IDE.
1
u/IkertxoDt Jan 25 '26
Philosophical thought experiment: what if instead of starting with Python, a complete beginner started with a functional language (F#, OCaml, etc.)?
They’d probably find it easier to move to imperative languages later?. Learning loops and mutable state is relatively straightforward, while going the other way around (imperative → functional) is usually much harder.
Anyone up for running the experiment? Do we have any guinea pigs around here? 😁
One option used to be Logo, especially if you are very young, but nowadays it’s rarely part of this conversation...
1
u/kjsisco Jan 25 '26
I would start with JavaScript. I started with C++ many years ago but JavaScript is better for new programmers IMO.
1
u/[deleted] Jan 25 '26
C
1
u/Evening_Squirrel_754 Jan 25 '26
My very first formal language was BASIC in the 80’s in grammar school, but my first real language was C in college… not so different from C++ at a scholastic level, though there are large conceptual differences.
Today I’d suggest Python to get up and running. You can do this…
1
u/Actual__Wizard Jan 26 '26
Python...
1
u/Scharrack Jan 26 '26
C++ to learn Programming (it gives you an understanding of what most other languages do in the background), then language of choice afterwards
1
u/ITContractorsUnion Jan 26 '26
Try learning SQL
You can practice your skills with the data files here:
https://github.com/ITContractorsUnion
And use it to find a Job.
1
u/PositiveAnimal4181 Jan 26 '26
Pascal
1
u/That_Frogstop_8616 Jan 26 '26
Go. That's an interesting backend opinion language which now grows up and not so competitive like Python. I think this language has a good future
1
u/Cyberspots156 Jan 26 '26
Pascal is strongly typed, which will help you to learn something that Python won’t teach you. You could also go with C, a very powerful language. You will probably hurt yourself initially, followed by learning memory management of either language. Hurting yourself occasionally is learning. Pascal and C are older languages and Pascal is rarely used, but an excellent way to learn structured functional programming. Any implementation of these languages will have bounds checking, which is quite useful. I would definitely tackle one of these before trying an OOP language.
If you’re really into OOP, then jump into C++.
1
u/TheRNGuy Jan 27 '26
Learn js by writing userscripts for tampermonkey (unlike python, it's actually something that have practical use for non-professionals, or specific hobbies)
1
u/HesletQuillan Jan 22 '26
INTERCAL
1
u/WhereTheSunSets-West Jan 22 '26
JavaScript. The reason why has nothing to do with the language and has to do with access to the tools. There is a JavaScript IDE built in to google chrome. If you are viewing this webpage in using that browser, just hit F12 right now. If you double click a .html file on your desktop, chrome will open it. Now it is running your code, not code on someone else's page. There are plenty of tutorials out there. Go for it.
1
u/RobertDeveloper Jan 22 '26
Java, it's easily to learn and used a lot in schools to teach programming.
1
u/POKEGAMERZ9185 Jan 22 '26
Since you're an absolute beginner, maybe Scratch since it gives you the absolute fundamentals in what programming is and how programming works. Once you get those down, then I think the next easiest to learn and understand is Python, which is easy to learn due to its simplicity. Plus there are several libraries that you can use for different use cases.
0
u/devfuckedup Jan 22 '26
python or C if your intrested in how the computer works.
0
u/0xf5t9 Jan 22 '26
I did C++ and I would do it again. Or C, same thing to me. You would save more time in the long run if you learn the low level concepts first, trust me bro.
0
u/pborenstein Jan 22 '26
It varies by decade. 1980s was Pascal & Lisp, 1990 was C, C#, Java, C++, 2000 Ruby Python JavaScript, 2010 Nodejs Python 2020 Typescript Python
Learn what the people teaching and writing articles use
0
u/big_data_mike Jan 22 '26
The answer is Python.
0
u/Crichris Jan 22 '26
C.
It's not easy but you will thank me later if you are serious of being a programmer
0
u/MaxwellzDaemon Jan 22 '26
The J programming language - jsoftware.com - is interactive which means you get immediate results when you enter an expression. It cannot be stressed enough how much immediate feedback speeds up your learning.
-1
u/LegendValyrion Jan 22 '26
Cobol. Widely used in academia and for app development.
0
u/[deleted] Jan 22 '26
[deleted] — view deleted comment
0
u/[deleted] Jan 24 '26
[deleted] — view deleted comment
0
u/[deleted] Jan 22 '26
[removed] — view removed comment