DEV Community

Adrian
Adrian

Posted on

At what age and in what language did you write your first line of code?

At what age and in what language did you write your first line of code?

Alt Text

Top comments (49)

Collapse
 
patricktingen profile image
Patrick Tingen

I think I was around 12 years old (~1982) when I wrote my first basic program. On paper. Yes, paper. I got infected with the programming virus by a book of a friend of my parents. They had a commodore 64 with a book that belonged to it, with instructions on how to program in basic. I just loved it and started to write my own program on paper. Later - in school - I programmed on a TRS-80 system and even later I got my own MSX computer. Today I am still programming. And I still love it. Even after almost 40 years.

Collapse
 
ben profile image
Ben Halpern

Commodore 64 is such a legendary machine.

Collapse
 
admantium profile image
Sebastian

Same language as I used :)

Collapse
 
vanaf1979 profile image
Stephan Nijman

I remember that book! 😊

Collapse
 
audreyfeldroy profile image
Audrey Roy Greenfeld

We had TRS-80 computers at school too, in third grade computer class! We'd sit two or three at a computer and type in programs that the teacher handed us.

Collapse
 
ben profile image
Ben Halpern

I’d pin it at around 12, and it was HTML.

Maybe not as programmy a language, but my intro was geocities and it’s not too different from what I’m still doing.

Collapse
 
radiomorillo profile image
Stephanie Morillo

HTML at age 12

Collapse
 
ben profile image
Ben Halpern

Same!

Collapse
 
radiomorillo profile image
Stephanie Morillo

😃👯

Collapse
 
iamkalai profile image
Kalaiarasan Pushpanathan

C. I was 17 when I first used a computer and learnt to switch on a computer. Few months after buying the computer, bought (from Library) a 'Learn C in 24 hours' book by Sams publication and wrote 'Hello world'.

Collapse
 
geoxion profile image
Dion Dokter

Early 2013 when I was 15. Language was C#.
Started doing that because I liked Redstone in Minecraft a lot and my dad suggested I better learn something more useful 😅

After that I stopped playing Minecraft and started making programs

Collapse
 
kildareflare profile image
Rich Field

17: PIC Assembly Language
Which looks something like this...

Start:
     bsf    STATUS,RP0    ; Select Registers at Bank 1
     movlw  0x70
     movwf  OSCCON        ; Set the internal clock speed to 8 Mhz
     clrf   TRISIO        ; Set all General Purpose I/O to output
     clrf   ANSEL         ; Make all ports as digital I/O
     bcf    STATUS,RP0    ; Back to Registers at Bank 0    
Collapse
 
ecognito profile image
E Cognito

It would have been BASIC on a ZX80 which was a nasty little membrane keyboard thing you attached to the ariel socket on your TV. I was probably around 10-12 years old.

From there I taught myself Pascal which I had to boot up on 3.5" floppy disks on the Cannon XT PC running DOS that my dad had bought to help him do the invoicing for his business. During school holidays I would start programming about 11pm and go to bed at around 7am when my dad got up and kicked me out of his home office.

Collapse
 
ferceg profile image
ferceg

It was the BASIC era's helloworld. :)
Same first program on C+4, at age of 12, in 1988.
It was a school computer, no floppy drive, only casette recorder. It took literally minutes to load a program without turbo.

Collapse
 
rdad profile image
thierry tranchina

I write my first line of Basic code when I was 13 on a Amstrad cpc 464 ... 35 years ago 🤯

Collapse
 
stephanie profile image
Stephanie Handsteiner • Edited

I was around 11 years old when wrote my first line of PHP in 2001. I used to write modifications (“hacks“ we called them, because we were cool, I guess) for the Burning Board software. Also made styles/templates for it.