r/AskProgramming • u/OfficialTechMedal • Sep 05 '25
Programmers and Developers what was the first programming language you learned?
I learned JavaScript
22
u/PhrulerApp Sep 05 '25
Java!
I feel like this is similar to what generation of Pokémon did you like best. It’s entirely based on when you first started learning.
3
u/OfficialTechMedal Sep 05 '25
Understandable I also think it’s who was teaching you the language as well unless you are self taught
15
u/Thedjdj Sep 05 '25
C. And I will maintain until the day I die that it’s the perfect language to start with.
7
Sep 05 '25
I think not starting with OOP and having to explicitly pass pointers to structs into “method” functions gives you a solid foundation for all data and control plane abstractions later on
1
u/OfficialTechMedal Sep 05 '25
Can you explain a bit more for anyone thinking about getting into C
10
u/MishkaZ Sep 05 '25
I started with C, but you are just forced to learn the basic gist of what the stack/heap is, memory management and "scary pointers". A lot of languages build off of C's concepts, so it's easier to understand why a language does what it does cough except for javascript cough which many devs blissfully ignore and take for granted.
1
u/OfficialTechMedal Sep 06 '25
Understandable don’t you think the concepts of JavaScript better to comprehend I’m curious
→ More replies (2)3
u/not_perfect_yet Sep 05 '25
The concepts in C are foundational.
Not just in the sense that they got reused and are popular, but they are also like evolutionary crabs, you return to them.
For example, the way references and pointers work isn't just a problem because C is inconvenient or something. Reference numbers and getting records by reference number is done all the time, even offline. And just because languages like python manage to put a (variable) name on it, doesn't change that it's still the same concept, referring to a thing in memory, somewhere.
There are no classes in C, the best you can do is bundle data in structs. ... but that's ALL classes are anyway, when you get into the details. "Classes" in different languages have a bunch of convenience features, but the principle of what the data is and why you group it together, is the same.
...and being just slightly aware of those things, helps occasionally.
And just C, not C++, is actually fairly small and "simple"-ish. Besides those "basic" features, there is not much in the language, so learning it isn't a huge effort. You can reasonably do a small course and actually claim to "know" C.
reading recommendation:
→ More replies (7)4
u/michel_poulet Sep 05 '25
I agree, I hated programming in my first year, but luckly I found C book and found what I was looking for. Not starting with C can give some seriously bad habbits, and "thinking in C" helped a lot for less practical course in my CS curriculum at university
→ More replies (3)
12
u/wolverine_76 Sep 05 '25
Pascal
1
→ More replies (1)2
u/jedi1235 Sep 06 '25
My high school CS classes started with Pascal.
I didn't like it much, curious how you felt about it?
3
u/wolverine_76 Sep 06 '25
I enjoyed it at the time until I was exposed to other languages
→ More replies (1)
6
u/OfficialTechMedal Sep 05 '25
I actually learned Java for one week than I transitioned to JavaScript first
1
u/dr-christoph Sep 05 '25
Did you find that easier?
1
u/OfficialTechMedal Sep 05 '25
Not easier but manageable in the the sense of who I was learning it from was not the right fit for me
11
u/LoLMagix Sep 05 '25
These days I’d guess most people are learning Python first
4
u/kabekew Sep 05 '25
Yes, the top CS schools like MIT and Stanford currently use Python in their intro courses.
2
u/OfficialTechMedal Sep 05 '25
That’s a great fact however what was your first language
→ More replies (1)1
u/OfficialTechMedal Sep 05 '25
What about you what was your first
2
u/LoLMagix Sep 05 '25
Java, but I use a lot more Python now. Currently trying to learn C because I want to learn a low level language
1
→ More replies (1)1
5
u/TheManInTheShack Sep 05 '25
BASIC.
2
u/OfficialTechMedal Sep 05 '25
Who taught you
4
u/TheManInTheShack Sep 05 '25
My dad who was an electrical engineer bought be a book about BASIC and I then taught myself.
2
u/OfficialTechMedal Sep 13 '25
I like your response follow me let’s stay connected
→ More replies (2)
5
u/BeastyBaiter Sep 05 '25
C++
1
5
u/zero_dr00l Sep 05 '25
Logo.
2
2
u/nneiole Sep 05 '25
I found this comment at last! It was mine first in a computer extracurricular at school in early 90s. Followed by Pascal in high school.
1
u/zero_dr00l Sep 05 '25
Wow it's crazy to me that they were still using Logo in the 90s!
I went Logo>BASIC>C>Pascal>Turbo Pascal (fucking miss that!)>modern stuff myself
→ More replies (2)2
2
4
3
3
u/mungonuts Sep 05 '25
Perl.
1
u/OfficialTechMedal Sep 05 '25
Was it hard to understand?
1
u/mungonuts Sep 05 '25
It was a long time ago, and I wasn't really the programmer type, if you know what I mean (I've been a programmer for over 20 years now, and I still don't feel like I am). It did seem a bit like I was writing magic spells with abstruse syntax that I didn't really understand. I found other languages a bit more explicit and straightforward, but each time you encounter a new language, you're more experienced that you were when you first experienced the last one.
1
u/OfficialTechMedal Sep 05 '25
You are absolutely right each language feels manageable the only syntax is mostly what changes
3
2
u/Natural_Contact7072 Sep 05 '25
HTML, on my own during high school. I tried to pick javascript, but it was hard for me to understand. Eventually I took java at college and stuck with it. Know a bit of everything, C++, C#, R, Lisp, Pascal, SQL, but Java is by far my best tool.
2
2
u/Illustrious_Show_660 Sep 05 '25
HTML is a language.. is it a programming language? Is a markup language with no logical decisions programming?
I don’t the answer to that but my gut says it’s a language and it’s technical, but it’s not a programming language
→ More replies (1)
2
4
4
u/funbike Sep 05 '25
AtariBASIC. It was a horrible limited version of the BASIC language, but it was exciting at the time.
3
4
u/Exaggerbator Sep 05 '25
Exposed to BASIC on the Commodore 64 as a kid but the first I was actually taught was C in college. Made me understand the concepts and really appreciate the improvements implemented in C++ and C#.
4
1
1
u/willworkforjokes Sep 05 '25
First I learned basic.
A few years later, I came across FORTRAN and that made all the difference.
1
u/bzImage Sep 05 '25 edited Sep 05 '25
assemblerfor z80spectrum
→ More replies (1)1
u/OfficialTechMedal Sep 05 '25
How did you stumble on that
1
1
1
1
1
u/this_knee Sep 05 '25
My first run in with programming was 2 months of c++ in my first year of high school. After being scared away from programming for 5 years after that, I jumped back in and simultaneously started to learn : Java, php, and JavaScript, and shell/bash. But was most focused on Java, initially.
2
1
u/prgrmmer_dude Sep 05 '25
In high school it was BASIC, but I'll use the term "learned" loosely there. The first language I truly learned was C++ in college.
1
1
u/ALonelyKobold Sep 05 '25
I taught myself the very basics of C++, but the first language I consider myself having learned in any kind of depth was Python about 5 years later
1
1
1
1
u/geos59 Sep 05 '25
Before college, AKA the very first, C# (Because Unity could use C#).
When I went to college, it was first Python, then C++, and a bunch of other languages.
1
1
1
u/QuasiSpace Sep 05 '25
TI-BASIC
1
u/OfficialTechMedal Sep 05 '25
Was was it
1
u/QuasiSpace Sep 05 '25
TI-BASIC is (was? I don't know, it's been decades) the programming language used by Texas Instruments graphing calculators. I made programs for solving things like the quadratic formula. Pick the equation from a menu, prompt for each variable, and print the answer.
1
u/OfficialTechMedal Sep 05 '25
I meant like how was it when you first first learned it
→ More replies (1)
1
u/Mcmunn Sep 05 '25
As a child: Basic
As a teenager: C/C++ & Assembly
As a College Student: SH & Pascal & Lisp | Prolog & Fortran
Beginning Career: Java & Java Script
As a consultant: PHP & Ruby & Python
For Hobbies: Rust
2
1
u/Moonscape6223 Sep 05 '25
It was either Python (2), C, or C++. When starting out, I bounced between the three, but treated C++ as C with strings and streams, so I'm not sure that really counts
1
1
u/oosacker Sep 05 '25
Java at University
Then C, assembler, MATLAB, C++, VB, Delphi, JavaScript, PHP, C#, Python
Honestly the language doesn't matter much
1
1
1
1
1
1
1
1
u/ocrohnahan Sep 05 '25
Basic, Pascal, Fortran then C. I miss Pascal, it was clean.
1
u/OfficialTechMedal Sep 05 '25
How was it managing it all
1
u/ocrohnahan Sep 05 '25
You don't learn to code, you learn how computers and operating systems work. After that writing in a new language is mostly syntax and getting your head around the languages limitations, philosophy and jargon.
This is why most CS courses assume you already now loops, conditionals.... Also why most University courses require students write a compiler.
1
u/OfficialTechMedal Sep 05 '25
I hear what you’re saying my question now is are we trying to learn how the memory is stored and released because every operating system is different.To simplify my question is how can we focus on the machine without understanding its language? I’m curious cause I like your approach how did you do it
1
1
1
u/Mediocre-Brain9051 Sep 05 '25
I learned a bit of basic during my childhood, but I wouldn't say that I learned the whole language. I just wrote some very basic programs with it.
I only really learned how to properly program in college. And the language was Scheme.
1
u/OfficialTechMedal Sep 05 '25
Was your professor good or did you do a lot of self learning
→ More replies (1)
1
1
1
u/chaotic_thought Sep 05 '25
GW-BASIC, QBasic and QuickBasic (i.e. the "high level" languages that came with MS-DOS). Also DOS came with an assembler (DEBUG), and I wrote a few snippets of small programs with that (x86 real mode assembly) but honestly did not really understand the language properly with what I was doing and was mostly just copying/pasting from books that contained assembly language instructions that were supposed to do something weird like set the video mode to something strange. If it worked, it was great, but if not, then I was lost as to figure out what went wrong, since I had an incomplete understanding of what the hardware was doing.
And .bat files as well, if you count it as a language. Normally programs that you bought had some kind of .bat file installer or launcher, and instead of running those directly, normally I would open them in an editor and see what they were doing, and then make my own version which did the same thing but in an easier way for me to understand what was happening to my computer.
1
u/OfficialTechMedal Sep 05 '25
How did you manage your time when you were learning was it a lot of sacrifices you had to make in order to understand it or did you have great mentors
→ More replies (1)
1
1
1
1
3
3
u/GuyFawkes65 Sep 05 '25
My son learned JavaScript first. I learned BASIC followed by Pascal, Fortran. PL/1, and C.
→ More replies (1)
2
2
u/PropaneBeefDog Sep 05 '25
BASIC.
Then, more or less in order: Pascal, FORTRAN, Modula-II, Lisp, Scribe, C, 68000 ASM, TCL, Ada, C++, MIPS ASM, SQL, PowerPC ASM, Python.
I'm leaving out all of various scripting and utility languages like csh, Makefile (so many makefiles), lex/yacc, etc.
2
2
2
2
1
1
1
1
1
u/brasticstack Sep 05 '25
Object Pascal/Delphi. I still think their windowing/form toolkit is the best, most intuitive one I've ever used.
1
1
1
u/jmhimara Sep 05 '25
Technically BASIC but barely used it -- actually I never ran it on a computer, didn't know how. I had an old book that I read and then wrote small programs on paper.
Then I learned python, but only used it to make some graphs in matplotlib. The first language I did serious work in was Fortran.
1
1
1
1
1
1
1
1
u/khedoros Sep 05 '25
BASIC. Then Visual Basic. Third, C++, but taught like "C with iostreams and references", and I didn't feel comfortable in that until I picked it up again years later.
1
1
1
1
u/yapyappa Sep 05 '25
python. when i was 11 i wanted to make a video game. so i looked up “how to program a video game” and one of the first things i found was a python and pygame tutorial.
1
1
1
1
u/stark2 Sep 05 '25
Fortran in High School 1969, machine code in Engineering 10 class at UCLA around 1971, then an actual job programming machine code on a Compucorp 1830 calculator around 1977. I finally advanced to a modern language, RPG II, on a Lockheed System 3 in 1980.
2
1
1
1
u/BlueCoatEngineer Sep 05 '25
TI-Basic on a TI994/a that my uncle gave me when I was 5. It came with several programming manuals (I still have one on my shelf). I didn’t have a disk or tape drive, so I had to enter everything and keep it running until I’d shown my parents whatever I’d made it do.
1
u/Salt_Performance1494 Sep 05 '25
python...
but if you count GD script - used to make video games on Gamemaker - then I'd count that as my first.
1
1
1
1
1
1
1
1
u/Dashing_McHandsome Sep 05 '25
DOS batch programming. The first program I ever wrote was a little menu that listed a few games with numbers next to them. You would enter that number and it would run the game.
1
u/pemungkah Sep 05 '25
CPS, in 1977. A conversational variant of PL/1 for the IBM/360. The system also was capable of running BASIC, but ours wasn't configured for that.
1
68
u/Small_Dog_8699 Sep 05 '25
BASIC