DEV Community

Florin Pop
Florin Pop

Posted on

How old were you when you wrote your first line of code?

And maybe tell us what you wrote? 😃

I started at around 15-16 in High School and if I remember correctly it was a little bit of HTML that we wrote 😊

Oldest comments (79)

Collapse
 
hurricaneinteractive profile image
adro.codes

Around 15, building a gardening game in Game Maker.

Collapse
 
luisgmoreno profile image
Luigui Moreno

23, sure I had written code before to courses in college, but when I start programming for the sake of programming I was 23 YO, I remember the I started reading a "For Dummies" book about css, html and javascript, that also happens to have php included great book at the time by Andy Harris

Collapse
 
rajakumardev profile image
Rajakumar

i was 13(2008) when i wrote first line :P i did a photo gallery in Html, css, js.
also started programming in java... to be honest the java part is tough as hell for me at that time... :)

Collapse
 
d1p profile image
Debashis Dip

I think it was around 15-16 as well, It was some visual basic 6 codes, the goal was to build a 3rd party UI interface for a popular chatting platform with some additional (might call abusive) features.

Collapse
 
highcenburg profile image
Vicente G. Reyes • Edited

I was 17 or 18 and was in college. First language was Turbo C(2008); then I forgot everything. Fast forward to today, first program I wrote was a Twitter Bot in Python.

Collapse
 
florinpop17 profile image
Florin Pop

What does the Twitter Bot do? 😃

Collapse
 
highcenburg profile image
Vicente G. Reyes

It tweets jokes from the icanhazdadjoke api hahaha

Collapse
 
arnyminerz profile image
Arnyminer Z

Maybe 11-12, in school, just trying to get started. Wrote some batch for some testing code.

Collapse
 
jckuhl profile image
Jonathan Kuhl

14-15. It was a language called C-Script. C-Script was a scripting language built for A4 3d GameStudio made by some German company. I tried to make video games back in the day and realized how much of a chore that really is.

C-Script later got replaced by Lite-C, a super set or maybe a library (not sure how exactly it worked) of C++. Lite-C you could write any valid C++ as well as Gamestudio's own library of code (so maybe it was a superset like Typescript is to JavaScript, I don't remember.)

Haven't touched it in years though. I have Unity and I know C# but I haven't gotten back into game dev, simply because I remember how much work it was.

Collapse
 
dev_mathilde profile image
Mathilde

Around 14 years old I did the HTML/CSS course on Openclassroom (it wasn't named like that at this time)

Collapse
 
chrisrhymes profile image
C.S. Rhymes

Does writing a sentence with the format ‘if this then that’ count as I’m sure most kids write that at school at some point without even realising its basic code.

Collapse
 
florinpop17 profile image
Florin Pop

I guess it counts! :P

Collapse
 
bertilmuth profile image
Bertil Muth

I was 10, and I wrote this in BASIC on a C16:

10 PRINT “HALLO”
20 GOTO 10

Collapse
 
saigkill profile image
Sascha Manns

I also begun when i was 10. I started on a C64 with BASIC.