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.

Collapse
 
mattlancaster81 profile image
Matt Lancaster

I started out in the most mundane way, Junior High School. We only played with QBasic, but it got me interested and propelled me to take anything that our High School offered.

Now, I'm 13 years into the industry and even obtained a Master's degree.

Collapse
 
andy profile image
Andy Zhao (he/him)

Nice, did you learn on your own when your high school couldn't offer enough? That was the case with my high school, they had so few resources that only three or four comp sci classes offered, and led me to not want to try it.

Collapse
 
buinauskas profile image
Evaldas Buinauskas

I started with my old mobile phone. I used to find mobile web pages (Wap, not Web) source and build something myself. Initially it was just wml, then php and later databases. Everything on a black and white mobile screen. 🙂

Collapse
 
imastee profile image
ste

I started loving programming when i was like 12 years old.

I was on an online forum platform called Forumfree where you can create a personal forum about whatever you want.
I started playing with html & css at first and probably I thought I was an hacker because with some little code I could change the background of a page! It was magic!

I started programming seriously when I started university where I learnt the basics of Java, Sql and something about Javascript but it was nothing compared to what I learnt now that coding is my job.

Collapse
 
olal profile image
(ⓞⓛⓐⓛ 🇰🇪 II) • Edited

With no real background on programming concepts or relatives familiar with computers leave alone how to code, I learnt how to program from a roommate in the university. I am not even doing a CS; but a B.A in communication and media,so I found it a bit hard and strange to grasp the concepts...and guess what?!?😅 It was just HTML! I hadn't gotten into the real stuffs (I mean the likes of PHP,ES6, Java bla bla bla) but I was determined to know how to program. My roommate (he's currently a 4th year CS student at a local university here in Kenya) handed me an outdated PDF book on "Introduction to HTML and CSS, How to Build Websites", which in fact I wasn't aware that it was a bit outdated 😂😂😂 only to try to catch up with the reality which was 7years ahead of me😂😂😂.
I mastered html5 and css3 on my own as they were the building blocks. I downloaded many Pdf tutorial books, most of them free but not up to date, however, I still found them relevant. I introduced myself to PHP and JavaScript all by myself as they were also necessary. I joined github to learn and I still consider myself a novice with no single repo or contributions😂. I'm on twitter and from there I got to know dev.to ...
Actually all my programming I've learnt from freely downloadable PDF'S on the web. At the same time I make sure I catch up with any updates on the programming languages of my choice (in this case JavaScript and PHP).
I believe CS is not a prerequisite for knowing how to program. And I have been making tremendous progress to my belief...and life moves on 😁

Collapse
 
domin profile image
Dominic Sears

I started by watching videos of C++ tutorials on YouTube. I didn't really understand it though, I was just typing whatever was on the screen. All I knew how to do was to get some text going on. Maybe I just didn't think too much about actually listening and trying to understand what was going on, or maybe the guy in the video didn't explain it very well.

I end up learning it in college. First with Java and then C++. I learned the basics about variables, concatenation, loops, conditional statements, and basic arithmetic. Throughout the courses, I started learning about object-oriented programming, containers, functions, and creating our own libraries.

Honestly, in the beginning, it was challenging, but now I look back at it like it's a piece of cake. Learning a new language is now all about the syntax and features for me.

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