r/cprogramming • u/Individual_Island_20 • 9d ago
At what age did you start programming, and in which language?
/r/Cplusplus/comments/1y0heke/at_what_age_did_you_start_programming_and_in/
0
Upvotes
3
u/lordlebrand 9d ago
13, some restricted BASIC subset
1
u/Thesk790 9d ago
I was 15 years old. I started with web dev (JavaScript, HTML and CSS), then I discovered that I can use JavaScript in the terminal (Node.js, still JavaScript), then I discovered Termux (I always programming in an Android phone), then C++, finally I found C and Zig. The last two are still my favorites.
3
u/deadsy 9d ago
12, BASIC, Python for beginners today.
3
u/zeekar 9d ago edited 9d ago
Well, some time in elementary school - I think I was 10? - I checked out a book of BASIC programs for the TRS-80 from the library. I didn't have access to a computer to type them in on, but I studied them and wrote some on paper - I tried to turn one of their examples, a craps game, into Yahtzee.
I had a couple opportunities to use an Apple ][ at school but never for more than a few minutes at a time, so I didn't really start programming until I had my own computer at home - a Commodore VIC-20, which I got for Christmas 1982 when I was 14. And programmed exclusively in BASIC, though some of the type-in programs from magazines had machine-language routines that the BASIC code would write to memory (POKE) and then jump to (SYS). I didn't have any money for dev tools, so no assembler, though at one point I did write a mini-assembler in BASIC so I could play around with it a little bit.
Three years later I upgraded to the Commodore 128, which was much nicer for programming in BASIC and had a built-in machine language monitor that made it easy to type in small helper routines in assembly. That was the computer I took with me to college the next year. I was a CS major, so there was no shortage of new programming languages. The first thing they taught us was Pascal, but it wasn't too far in that we did a survey class with a project in a new programming language every week. And of course every other CS course had free choice of language - AI used Lisp, the OS class used Modula-2, the graphics and file systems courses both used C, which I had to learn on my own time - there was no class in it, you were just expected to have picked it up.
Anyway, these days Python is a good first language. Easy to understand and get started with, and you can run it in a browser.
3
u/No-Protection-7019 9d ago
25 ans, assembleur
2
u/gregdonald 9d ago
I have two answers for this:
2
u/Traveling-Techie 9d ago
In 1967 I read about flow charts and wrote algorithms on paper using them. Example: long division. I just found one this week. In 1971 I took my first college programming class in ALGOL on an IBM mainframe using punch cards. About a year later they brought a teletype into the computer center connected to a DEC minicomputer and a program taught me BASIC.
1
u/AdBubbly3609 9d ago
12/13 and i learned html then css then php then mysql, stopped programming for about 15 years, started again last year and have learned javascript c and a little c++
1
u/Winter_Rosa 9d ago
19 with Java in Uni.
1
u/415646464e4155434f4c 9d ago edited 9d ago
At 12 in mid 90s. Pascal. Then C late in the 90s. I’m an old fart.
1
u/sindisil 9d ago
I started learning to program in 5th grade, so I would have been 10, I suppose.
That was PET BASIC, learned from a BASIC manual the school librarian received with the computer. We had two in the library for the school to use.
1
u/bearheart 9d ago
I was 16 in 1972 and my first language was 4004 machine code. Soon after, I started learning C on a PDP-11 at the local university.
1
u/Jumpstart_55 9d ago
16 Fortran and basic
1
u/ThePlasticSturgeons 9d ago
I don’t remember how old, pre-teen I think. Commodore BASIC.
1
u/Chrom0XD 9d ago
12, Java
1
u/DXTRBeta 9d ago
12 years old, 1969, started by plugging straws on a 3-bit Digi-Comp.
Look it up!
1
u/Patchmaster42 9d ago edited 9d ago
When I was young, PCs did not exist. My first programming experience was at 18, my first semester in college. My first language was PL/1. I fell in love. Programming was very different back then. You sat down in front of an IBM 029 keypunch and carefully typed your program onto punch cards. Then you handed your stack of cards to a computer operator who put them in a card reader. The program compiled, assembled, and ran. You got back your cards along with a line printer listing of all the syntax errors that were in your program.
I then moved on to PDP 11/20 assembly language. Still on punch cards. This was a fun step sideways. The computer was no match for the IBM mainframe used previously, but it was hands on. I got to put my cards in the card reader myself and pull the output off the line printer.
Then it was Pascal, Fortran, COBOL. Then I started working and used a variety of other languages virtually no one in here has ever heard of.
I started using C in 1981 and continued using it until I retired.
1
u/jeffbell 9d ago
I was 14. My high school had one computer. It ran BASIC. (1977)
It could run Fortran in batch mode. I also did some assembler code.
1
u/UnicycleBloke 9d ago
I was 12 or so. Basic on an RML 380Z.
1
u/podule-games 9d ago
I started about about 7 or 8 years old, with BASIC. This was back in the late 1980s.
I moved around variants of BASIC for a while, then tried out things like TCL/TK and C.
C is really the only language that has fully *stuck* with me, I've used it off and on for almost 30 years, whereas I don't use TCL/TK or Python anymore, and certainly not BASIC.
1
u/eruciform 9d ago edited 9d ago
Basic and logo
Age 5 or 6 or so
1
u/SmokeMuch7356 9d ago
14 or 15, TI-BASIC on a TI-99/4A (this would have been '80 or '81). Played with sprites and sounds a lot, never really generated anything useful.
Wasn't until I'd spent three years flailing in college and signed up for Computer Science out of desperation that I learned languages like C and Fortran.
1
u/MonkeySmart409 9d ago
11yo, logowriter, 12yo basic, 13yo C and I'm not sure ive really learned much since.
1
u/Havarem 9d ago
10, batch (MS-DOS 5 I think).
1
u/Certain-Resist 9d ago
12/13
1
u/mancunian101 9d ago
Must have been around 11 or 12 using locomotive basic on the Amstrad CPC
1
u/flyingron 9d ago
I was 15 years and went BASIC to Fortran to COBOL to pl/I and ultimately C.
1
u/mjmvideos 9d ago
14 in BASIC on a PDP-11 and then the Apple II. Then FORTRAN, Pascal, ADA, C, C++ Python, a smattering of C#. Assembly throughout: PDP, 6502, SDP-185, 68020/30/40, MIPs, Coldfire, ARM/Thumb. Probably a couple more I’m forgetting.
1
u/mrshyvley 9d ago
25, Z-80 assembly language.
1
u/johndcochran 9d ago
15, TRS-80 Level 1 Basic.
1
u/W31337 9d ago
Probably when I was 8 or so in Basic on a ZX spectrum.
Only really picked up proper programming >18
1
u/f1w11 9d ago
probably 10 or 11 and it was qbasic or something but the thing was in india our teachers are too dumb and they themselves did not know what they are teaching us and they could not inspire us and i also did not have the programming interest in computers either but we were interested in games. So in short we were just copy pasting the code from the book into the computer and did not know a thing what is was doing. in the end we got the output.
1
u/AegisRaspin 9d ago
9, if scratch counts.
If scratch for some reason doesn't count (some people say it doesn't?), then python at 11.
1
u/jezemine 9d ago
I started in 1982 on Apple II+. Language was applesoft basic. I was 9. I did it for a couple years then stopped. Returned to programming 15 years later as a grad student in physics. Got a PhD then left academia and became a programmer, been doing it professionally ever since. I love it.
Very sad to see how AI is changing it. I love the creative aspect of programming, I feel sad for the young folks starting out today. I can coast to retirement still writing code with my fingers. It will be harder for anyone starting out today to do that. Maybe in certain niche fields like aerospace? The code that runs on rockets and airplanes better not be AI slop...
1
u/grimvian 9d ago
BBC Basic with inline assembler 1984 and 28 years old.
Now as a 70 I enjoy C99 and raylib graphics everyday!
1
u/Schaex 9d ago
I started with Java when I was 23. I later also learned Python, C and Rust, but I still like Java the most.
1
u/Erdnuss2562 8d ago
7, (Commodore) BASIC, Python
Learned Pascal and (a little) C in my Teens, then Scheme, Java and more C at university. Doing C-code at work (though these days I'm not doing a lot of code anymore). Using Python for mostly everything that runs on a PC these days, C for microcontrollers and for my latest project (a web game) I'm dabbling in Typescript.
I clearly recommend Python for beginners, as it is highly versatile and also relevant.
Personal recommendation for beginners (of any language): If you really want to learn programming, use "AI" sparingly. If you just are interested in working programs, go ahead use your favorite agent. But if you really want to learn, you need to understand. Try to write the code yourself. Look at examples. If you have trouble understanding some parts, you can have the "AI" explain it to you, it's usually quite good at that. Then go ahead and use it yourself.
Oh dear, look at me, recommending Python in r/cprogramming . So let me finish this up with one of my favorite C-Expressions that's perfectly valid (since C99) and completely pointless:
((int){41})++;1
u/WeAllWantToBeHappy 8d ago
13 Fortran. In 1968. My maths teacher was ahead of his time.
Fill in coding sheets, send them off to a nearby university. Wait a week or so, get back a deck of cards and (usually) either a print out with syntax errors (sometimes from the punch card entry folks), or, more excitingly, a huge core dump. Occasionally, a deck of cards and some correct output.
I was hooked.
1
u/binarycow 7d ago
8. QBasic.
1
u/Cute-Marsupial9241 6d ago
18. Pascal. College in 1984
1
u/Living_Fig_6386 5d ago
I started programming around age 8, I think. BASIC and LOGO.
1
u/andyperezx1x 4d ago
8, basic
0
u/[deleted] 9d ago edited 9d ago
12 or 13 yo, unsure. First on calculator (fx-180P, fx-8800G, HP 48G). On HP 48, also assembly, by hand (so machine language, entered as hex on the HP).
Then on computer around 16 yo: QBASIC, Turbo C++ DOS (actually C), 8086 assembly (a86, nasm), Delphi and 32-bit assembly, then Caml Light around 1998.
Then I went to university and many languages followed.
0
u/[deleted] 7d ago
16 ans python