DEV Community

Andy Zhao (he/him)
Andy Zhao (he/him)

Posted on

How did you first start out learning programming?

My friend started learning Python on his own, and as a developer it's always great to see someone interested in the field. Of course, I was still a bit skeptical as to whether he was going to continue learning, but so far he's doing pretty well on his own. He started off with Codecademy, but found that it didn't really go into depth for mastery. Then he tried YouTube courses, and it went okay, but for whatever reason didn't like it as much either. THEN after that, he started PyGame, which seems to be his favorite, but he also tried Pluralsight since he got a free three month trial (going alright, I think). Now he's following Odin Project, or something like that.

Anyway, it got me wondering how everyone else started learning, especially since I couldn't really offer him the best advice on what to try. My experience learning programming isn't quite the same as his, and I had access to opportunities (coding bootcamp, for ex.) that he doesn't.

What were your first steps getting into programming, and what do you know now that you wished you did?

Top comments (33)

Collapse
 
michaelgv profile image
Mike

I got started with old university textbooks from my father, they taught HTML 1.0, at the time, state of the art - I read them cover to cover in an evening as “light reading”, and five days later I had my own site on the internet. I read the book and realized “reading isn’t cutting it for me, I need to just do” - so I did, at the time my father was into home labs so he got me set up on the net, and I’ve used that place for 5 years; now fast forward 10 years later I’ve got my own home lab, and teach programming in my free time.

If I could give advice to younger me, it would definitely be: “learn C first, then focus on other languages” - I unfortunately did the web stack first, and after years of doing that, C/C++ was “messy” to me, so I feared it; now I’m proud to say I do know it generally about how it works at a higher level

Collapse
 
moe64 profile image
Moe

interesting advice. I definitely feel that after learning a lower level language like C and a higher language like python, other imperative languages are easier to learn on the fly.

Collapse
 
andy profile image
Andy Zhao (he/him)

Like @mauricehayward said, interesting advice. Most folks nowadays learn a higher level language like Python, Ruby, JS, etc. first. Do you think that C/C++ are not as hard as people make it to be?

Collapse
 
michaelgv profile image
Mike

The language itself isn’t hard in my opinion, but we, as developers, have put this barrier around it in a way and warded developers away, almost like an “elite” class

Thread Thread
 
pim profile image
Pim • Edited

C++ was one of the first languages I used as well. Albeit only to a very introductory level during an enrichment program at a local university when I was in high school. I'm doubtful anything I learned then has actually helped me in my career. But you never know. I think the big issue with systems languages, like c++/c, is that it's difficult to produce something meaningful in the first little while. Considering most people are results driven, especially with respect to learning, I posit that this is the main reason most people use a higher-level language as their gateway drug.

Collapse
 
pim profile image
Pim

In general, I don't like this idiom. You should learn the tool that enables you to accomplish what you want. If your goal is to make a simple web application. It hardly makes sense to start off learning C. Can you imagine how discouraging that would be for a new programmer? I'm a seasoned programmer at this point, and I still don't like much about it.

Collapse
 
tam360 profile image
Mirza

i started coding after my 1st semester in EE. My sister told me that programming as a skill is really important at professional level whether you're doing Electrical/Computer Engineering or Computer Science. She recommended MIT's Introduction to Computing with Python at Edx. That course hooked me instantly. Learning curve wasn't that steep in terms of programming language. However, it the logical thinking part of the whole course was really challenging but it was worth it!!

It really helped me in learning C++ later in my college life.

P.S python is love!

Collapse
 
homerdalords profile image
Omar

early 90s, They were two french magazines hanging out at home. "Linux Planete" and "Login:" (previously Amiga Dream) and i could buy the previous month edition for 0.8$. bundled with distribution CD's (SUSE was like 7 CD's), programming tutorials and stuff.

What hooked me in were two game development tuts, one with Blitz Basic (meeh) and another one with Python/Tk/Pygame (Yeeh) that taught me basic OOP concepts.
that was the hook, then the internet came and finding resources wasn't that hard anymore.

Collapse
 
andy profile image
Andy Zhao (he/him)

Awesome, good ol' internet bringing in the resources.

Collapse
 
omawhite profile image
Omar White • Edited

I first tried to learn java and JavaScript back in high school to no avail. Once I got to college I tried again, this time in actual CS classes and it finally stuck. I got started making web apps using Django and have recently been picking up some modern JavaScript stuff.

Collapse
 
moe64 profile image
Moe

I first started to code during an internship at NASA. My mentor was like I could either do I these hard physics calculations by hand or have the computer do them. I choose easier route and learned MATLAB. Honestly, during that internship, I learned just enough programming to get the job done. Later I learned the fundamentals of programming through a programming python course at Uni.

Collapse
 
piotroxp profile image
Piotr Słupski • Edited

Ha !

I first started programming having about 8 years if I recall correctly.

My father bought a computer and wanted me to play some games. Instead, I started hacking some marqueess in html.

I perhaps dissapointed him, but when he understood what I did he bought me books on visual basic, and later on I took over the book buying business on my own, spending most of kidcash on Wiley's.

Good times, good times...

Collapse
 
mnivoliez profile image
mnivoliez

My first Programming book was "Fortran". I switched to python soon after. I would simply said that I like to make stuff, and I love work well done. And I can't stand to not understand what's going on. So I wanted to do something, didn't work, searched why, makes it work, repeat. That was my course of action.
And today, well I learn mostly from others.
If I could give advice to new programmer it would be: don't close your mind, search for what your tool is design for and if it does not suit you, pick another one.
Again, the code isn't that important. The problem you are solving with it is. I should have learn that first.

Collapse
 
danjconn profile image
Dan Conn • Edited

On my 14th birthday, my great grandfather got shafted at a second hand store and got me an Amstrad PC1512 with an 8086 processor when 486s were the norm. The shop refused him a refund so we were stuck with it.

I soon learnt that nothing was really upgradeable. Some due to the age of the machine, others due to Amstrad design choices (power supply in the monitor etc).

I decided to try and write programs for it each week so I could say "look grandad this machine is really cool". I appreciated that he had spent a lot of money on it and I didn't want to come across as ungrateful.

I first learnt BASIC, then Turbo Pascal, then I even dabbled in Assembler.

I started writing simple games and utility programs. Then moved to writing my own word processor and more complex games. In the end I tried to overclock it by manually soldering direct to the motherboard.

This didn't work out and it set fire. And that was the end of that.

What I considered at the time to be the worst birthday present ever actually turned out to be the best and most useful one. If I got given a 486 that I could have just played Command and Conquer on, I doubt I would have gotten that deep into programming. And if I hadn't had done that, then there's no way I'd be doing what I do now! Thanks great grandad, you were an awesome role model.

Collapse
 
andy profile image
Andy Zhao (he/him)

Awesome story dude!

Collapse
 
danjconn profile image
Dan Conn • Edited

Cheers dude!

Collapse
 
nomadicvince profile image
Vincent Moore

I taught myself HTML while i was a sophomore in college in 1996. Over the years I picked up JavaScript, PHP, Python and GLSL. I love learning web technologies, so learning about anything and everything is fun for me.

Collapse
 
jfrankcarr profile image
Frank Carr

I'm on the older side so personal computers weren't around when I was a kid in the 60's. However, this was during the middle of the Space Race and that excited me so much that I started learning trigonometry and other advanced-for-my-age math. To facilitate this my parents bought me a Pickett N600-ES slide rule, just like the ones that went to the moon. I also got into model rocketry and learned how to do my own telemetry using the very limited tools and budget I had at the time.

I guess I wish I had pursued it further as I moved on to college but various outside influences and distractions pushed me in other directions for a few years. When I got back around to computers it was during the initial PC boom so I learned BASIC, C and MASM.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.