DEV Community

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

Adrian on March 21, 2020

At what age and in what language did you write your first line of code?
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
 
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
 
admantium profile image
Sebastian

Same language as I used :)

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
 
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
 
jannisfink profile image
Jannis Fink

I think it was PHP at age 14 (~2009). Around that time, we started using Processing in school in the computer science class. Before that, we had used Scratch, but I don't think that that counts as "programming" ๐Ÿ˜† It was a lot of fun, though. I should take a look at it some time...

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
 
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
 
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
 
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.

Collapse
 
hinasoftwareengineer profile image
Hina-softwareEngineer

I learn C language and html,css and javascript at 16 in 2018. Before 16, I just hate computer ,Oh!! forget that my teacher taught us GWBasic language when i was 14. I just hate that because it is beyond my mind :xD. But after come to university, I know what is programming language and learn C Programming then i fell in love with computer and programming languages.

Collapse
 
mabla0531 profile image
Matthew Bland • Edited

9 with Rockerfer Basic (it's on pachesoft.com if it's even still up)

My parents were Software Engineers for Lockheed Martin and some other defense contracting agency and actually met through a joint contract in Colorado, so of course they had to get me into CS. I'm now pursuing CS as a profession and I can't thank them enough.

Collapse
 
lenguyenhoangnhan profile image
LeNguyenHoangNhan

I remember it was 2016 (i was 14) when i copy and paste Java "Hello World" code into Eclipse and had no idea what i was doing. I stop coding until 2018 and came back to Java and then jumped to C++ (Arduino). Now i use JS and loving it!

Collapse
 
bykof profile image
Michael Bykovski

I was 13 years old when I started to write my first website with html, css and javascript (~2007). It was the time, where responsive web design become very popular. I remember that it was called "fluid design".
After that I programmed some websites for my friends and some small companies to get money for it. Then I started around 2010 with PHP to have a backend for all these websites I built. Mostly it was just Wordpress with some template adaptations, but then I discovered Symfony. So I learned a lot about MVC architecture and from that point I got hungry for software-architecture.

Then, 2013 I joined a software company where we programmed in Python. We built a lot of business intelligence stuff with a lot of data science (as it was not related to AI anyhow) stuff. As I started to study computer science in 2013 as well, I could combine my university knowledge with requirements in my job.
I learned so much in this time.
Programming, Computer-Science, Databases, Mathematics, Computer Vision, Concepts, Design Patterns, Software-Architecture, and uncountable more... it's astonishing when I look back.

2018 I changed companies and stayed there for 9 months. Now I am at a really satisfactory company where we implement Go services.

Collapse
 
mhomol profile image
Mike Homol

9 years old. I coded Basic on a RadioShack Tandy 2000

Collapse
 
mensdarko profile image
Darko Mens

3 months a go. HTML and am 40yrs old with two boys who are twins are now 5 yrs. Want to teach them coding myself when they are 7yrs. By that I would be an intermediate developer.

Collapse
 
jarodpeachey profile image
Jarod Peachey

It was about 2 years ago, I was 16. I wrote my first line of code in the Wordpress sidebar editor. I needed some custom CSS, so I changed the line-height. And now here we are ๐Ÿ˜‚

Collapse
 
peledzohar profile image
Zohar Peled

Basic, around 7-8 years old.

 
rhymes profile image
rhymes

Omg PyGame. I worked once at an early stage startup that was using it ๐Ÿ˜‚

Collapse
 
ben profile image
Ben Halpern

I would have loved to find Python at that age.

Collapse
 
miguelthedev profile image
Miguel Sanchez

Maybe 13-14, I wrote some JavaScript and didnโ€™t understand it.

I came back to it at age 23 and never looked back. I fell in love with programming โค๏ธ.

Collapse
 
jonrandy profile image
Jon Randy ๐ŸŽ–๏ธ

Age 7 (1983) - ZX Spectrum BASIC

Collapse
 
n_develop profile image
Lars Richter

I think I was like 11 years old. During a vacation in sweden, my father started teaching me how to code. My father was a software engineer and we wrote a little quiz using Delphi.

Collapse
 
aewens profile image
Austin Ewens

I was 7 and in C++. It didn't really stick since I never went back to C++ (these days I use Python), but it did help me realize what I don't like in a language.

Collapse
 
ben profile image
Ben Halpern

Age 30, language C?

Dang, that sounds like a challenging situation!

Collapse
 
hachi8833 profile image
hachi8833

Intel 8080 assembler at age 11 or 12. It was so hard because I had nobody to ask suggestions around me๐Ÿ˜….

Collapse
 
vickyktk profile image
vickyktk

I write my first line of code in October 2015 at the age of 18 ... It was my first year of BS(CS) and it was C++. And my Lab manager helped me setting my desktop at our lab.

Collapse
 
meatboy profile image
Meat Boy

I was about 9-10 years old.
And it was some Ruby-like language, however, I even didn't know I was programming.

Collapse
 
penelope_zone profile image
Penelope Phippen

12 years old, 2013, java :OOOOOOO

Collapse
 
olegthelilfix profile image
Oleg Aleksandrov • Edited

It was Pascal with Turbo Pascal as first โ€ideโ€. I was 14 years old(11 year's ago). It was a bit weird experience cuz I didn't realize what I do

Collapse
 
clara profile image
Clara

I was 25 and it was Ruby <3 first love.
Even though I haven't started coding in my teenage years, I still consider myself a successfull web developer :)

Collapse
 
nicolaerario profile image
Nicola Erario • Edited

1986: I was 6 and wrote Basic on my C16.

Collapse
 
prashant profile image
Prashant Nigam

GW basic at age 12

Collapse
 
georgy5 profile image
Karl Keller

Wrote my first line of code in Visual Basic 6.0 around 14 years of age...

Collapse
 
admantium profile image
Sebastian

At school, I think around age 15, on a windows pc, I started to write, well, Visual Basic ๐Ÿ™ˆ

Collapse
 
pieterbergwerff profile image
Pieter Bergwerff

Basic in a ZX81! I was 12 years old ๐Ÿ˜‰

Collapse
 
tardisgallifrey profile image
Dave • Edited

Twenty-one. My father-in-law gave me a Timex Sinclair 1000 for my birthday. BASIC was built in to the Timex.

Collapse
 
spidergears profile image
Deepak Singh

My first was Logo at around 12.

Collapse
 
hcamacho4200 profile image
Henry Camacho

I was a 6th grader watching old people a my local computer store. I bought Richard mansfields "Machine language for begineers"

My 1st line was A9 00 ON 62XX SERIES CPU

LDA #00

Collapse
 
cadams profile image
Chad Adams

13 years old in 2008 creating RuneScape private servers.

Collapse
 
gc_psk profile image
Giancarlo Buomprisco

I was 19, learned using JS at university

Collapse
 
delta456 profile image
Swastik Baranwal

I wrote at the age of 13.