r/AskProgramming • • Sep 05 '25

Programmers and Developers what was the first programming language you learned?

I learned JavaScript

78 Upvotes

569 comments sorted by

68

u/Small_Dog_8699 Sep 05 '25

BASIC

12

u/Dense_Gate_5193 Sep 05 '25

I was 8 when my grandfather gifted me his old 8088 IBM. it had a BASIC compiler onboard and so i learned BASIC at a very young age.

professionally, my into to programming was writing automation in PERL, followed by ASP.net and WPF for my own automation in running scripts on remote servers. I was basically automating some of my duties as a service engineer at microsoft.

GOTO LINE

1

u/OfficialTechMedal Sep 13 '25

I like your response follow me let’s stay connected in this tech space

→ More replies (2)

4

u/OfficialTechMedal Sep 05 '25

What was your second language you learned next

8

u/ApoplecticWombat Sep 05 '25

Not who you replied to, but also BASIC for me.

After that, I taught myself C++ from a couple books and a Borland C++ compiler. Then, officially enrolled in a Comp Sci course and began learning good ole C. Eventually got a BS in Comp Sci, then a Masters in Software Engineering.

The whole time for BS degree, I was working evenings and night shift as an RN at the local hospital. I always knew I was in the wrong field.

3

u/OfficialTechMedal Sep 05 '25

What helped you stay focused on your journey

→ More replies (1)

2

u/dwkeith Sep 05 '25

I also learned BASIC first. The languages I learned for school/work so far: BASIC > Pascal > JavaScript > Java > PHP > Perl > ObjC > Ruby > Python > Go > Mathematica > Swift.

→ More replies (11)

1

u/OfficialTechMedal Sep 13 '25

Follow me let’s stay connected in this tech space

4

u/chipshot Sep 05 '25

Me too. Goto's all over the place. Simple loops

→ More replies (5)

2

u/JellyfishMinute4375 Sep 05 '25

I honestly can’t remember if I started with BASIC or Logo

2

u/johnpeters42 Sep 05 '25

I saw a PET at school, had a VIC 20 but don't remember whether I wrote any programs on it, had a C64 and definitely wrote some programs on that.

3

u/peter303_ Sep 05 '25

BASIC, then LISP, PL1, APL, FORTRAN, C, Pascal, ObjectiveC, C++, Java...

→ More replies (1)
→ More replies (12)

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

u/[deleted] 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

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:

https://learnxinyminutes.com/c/

→ More replies (2)

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)
→ More replies (7)

12

u/wolverine_76 Sep 05 '25

Pascal

1

u/OfficialTechMedal Sep 13 '25

I like your response follow me let’s stay connected

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)
→ 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

u/OfficialTechMedal Sep 13 '25

I like your response follow me let’s stay connected

→ More replies (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

u/OfficialTechMedal Sep 05 '25

Was it hard

1

u/BeastyBaiter Sep 05 '25

Not really.

1

u/OfficialTechMedal Sep 13 '25

I like your response follow me let’s stay connected

5

u/zero_dr00l Sep 05 '25

Logo.

2

u/OfficialTechMedal Sep 05 '25

Who introduced you to Logo

→ More replies (3)

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

u/ExpletiveDeIeted Sep 05 '25

Does Logo Writer with that turtle count?

→ More replies (1)

2

u/failsafe-author Sep 05 '25

Haha! This is the real answer, but I don’t count it.

4

u/Snrub1 Sep 05 '25

Whatever the language on the TI 83 calculator was.

→ More replies (1)

3

u/Rough-Appointment-30 Sep 05 '25

Python

1

u/OfficialTechMedal Sep 05 '25

Was it for school or personal life

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

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

u/OfficialTechMedal Sep 05 '25

Big respect on not giving up 👏🏾

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

u/ErgodicMage Sep 05 '25

Apple BASIC, yep dating myself.

2

u/FreelyIP109 Sep 05 '25

Yep. I started with Integer BASIC and then Applesoft BASIC.

4

u/LForbesIam Sep 05 '25

Pascal and Basic

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

u/[deleted] Sep 05 '25

Yes! Those were simpler days.

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

u/DJDoena Sep 05 '25

1994 Turbo Pascal 7.0

1

u/theFoot58 Sep 05 '25

Commodore PET Basic

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

1

u/OfficialTechMedal Sep 05 '25

How did you stumble on that

1

u/bzImage Sep 05 '25

35 years ago with a sinclair1000 home computer

→ More replies (1)

1

u/Rschwoerer Sep 05 '25

BASIC, then HyperCard, is that a language?

1

u/OfficialTechMedal Sep 05 '25

I heard HyperCard was hard

→ More replies (1)

2

u/AwkwardBet5632 Sep 05 '25

The language was hypertext

1

u/huuaaang Sep 05 '25

BASIC. Then many years after that, C. Then did a bit of FORTRAN

1

u/OfficialTechMedal Sep 05 '25

How was the transition into C

→ More replies (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.

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

u/OfficialTechMedal Sep 05 '25

What was your grade

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

u/OfficialTechMedal Sep 05 '25

How was the transition from C++ to Python

→ More replies (1)

1

u/successful_syndrome Sep 05 '25

Perl

1

u/OfficialTechMedal Sep 05 '25

How long did it take to understand the basics

→ More replies (2)

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

u/a3th3rus Sep 05 '25

C#, and I failed.

2

u/OfficialTechMedal Sep 05 '25

It’s never failing just a lesson never give up

→ More replies (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

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

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

u/dylantrain2014 Sep 05 '25

Lua! It’s a great first language.

1

u/OfficialTechMedal Sep 05 '25

That is hard but why would you suggest it

1

u/Alagarto72 Sep 05 '25

Python

1

u/OfficialTechMedal Sep 05 '25

Self taught or with a professor

→ More replies (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

u/hollow_knight09 Sep 05 '25

html

2

u/OfficialTechMedal Sep 05 '25

I won’t even argue with you I’m proud 🤣

→ More replies (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

u/Effigy59 Sep 05 '25

COBOL. I’m old

1

u/OfficialTechMedal Sep 05 '25

What was your fav thing about learning cobol

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

u/[deleted] Sep 05 '25

Assembler on my own on a Commodore - Basic at school

1

u/OfficialTechMedal Sep 05 '25

How was it learning by yourself

3

u/QueenVogonBee Sep 05 '25

C.

God I hated pointers and array manipulation.

2

u/Illustrious_Show_660 Sep 05 '25

That just makes you human

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

u/IkertxoDt Sep 05 '25

Logo, turtles rules! 🐢

→ More replies (1)

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

u/[deleted] Sep 05 '25

Atari BASIC

2

u/NiggWards69 Sep 05 '25

Python then c++

1

u/reboog711 Sep 05 '25

BASICA.

Or possibly Logo on the TRS-80.

One of those.

2

u/zero_dr00l Sep 05 '25

Yeah it was Logo for me then BASIC on the good ole' Trash-80!

1

u/TexasXephyr Sep 05 '25

8088 assembly

1

u/The_Ryn Sep 05 '25

Basic > PL1 > 370 assembler > C > C++

1

u/duhrun Sep 05 '25

Basic in elementary school.

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

u/HoofStrikesAgain Sep 05 '25

BASIC on a Commodore 64. Next language was Pascal.

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

u/QueSeraShoganai Sep 05 '25

Visual Basic was the first language we used in college.

1

u/Comfortable-Tart7734 Sep 05 '25

Macromedia Lingo.

1

u/Candid-Moon543217 Sep 05 '25 edited Sep 05 '25

C it was my first year of university

1

u/No-Principle-8204 Sep 05 '25

profanity... I mean java...

1

u/ummaycoc Sep 05 '25

GW-BASIC on a Tandy 1000-EX running MS-DOS 2.11.

1

u/GeoffSobering Sep 05 '25

PDP-8e EduSystem BASIC

IBM 1130 FORTRAN IV ('ish)

1

u/comparemetechie18 Sep 05 '25

c++ and java in college...but i never used it in my work after

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

u/[deleted] Sep 05 '25

Visual Basic embedded in excel spreadsheets.

1

u/Imaginary-Corgi8136 Sep 05 '25

Fortran, then Cobol, then C

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

u/Epdevio Sep 05 '25

C# and JScript

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

u/mjdfff Sep 05 '25

OMG I hated RPG.

1

u/Jimco07 Sep 05 '25

Visual Basic 6.0

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

u/grantrules Sep 05 '25

mIRC scripting lol.. then Perl, TCL, PHP, Java, JavaScript, Python, C, Go

1

u/IamNotTheMama Sep 05 '25

School-FORTRAN

Work-C

1

u/ShutDownSoul Sep 05 '25

FORTRAN IV

1

u/JohnVonachen Sep 05 '25

AppleSoft Basic.

1

u/jayrafolsp Sep 05 '25

Where my VB6 peeps at !?

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

u/AlexFigures Sep 05 '25

BASIC->pascal->php->js->python