Live data from Hacker News

Ask HN: How did you learn coding

news.ycombinator.com

21–30 of 63 posts

Re: Ask HN: How did you learn coding

#21
I'm another member of the TI-83 club. Shoutouts to the little L who made it all possible.

Initially I used it in math to avoid having to do the rote computations, but eventually I started building other stuff. I built a simple game that had you navigating an ASCII character to collect the pi while another ASCII character chased you. Frames would advance on input, sort of like a rogue-like.

Eventually I made a text-based RPG combat game, where you would select enemies to battle, and gain XP to increase your stats which would allow you to fight higher level enemies, etc. The final boss's selection code was '666' and he was orders of magnitude more difficult than the next-hardest enemy.

I also had a book about learning to program in C++, it was p bare bones and I didn't learn very much from it.

Re: Ask HN: How did you learn coding

#22
My parents bought the family a ZX Spectrum, which came with a BASIC manual and a summary of machine code instructions. I was 12 years old and it was the 1980s and there wasn't anything better to do.

Re: Ask HN: How did you learn coding

#23
I've tried teaching myself C at age 10-11 in order to do embark on creating a Heroes of Might and Magic clone with Incas, because. Never got besides the paper planning. Didn't have a computer yet then, had to time-share on my dad's from his office. Was getting in late to try things.

In high school I was extremely lucky to have an amazing teacher that taught us C++ by throwing away the standard state-provided manual (this was Romania) and using her own methods, problems and curricula.

Next, coding interactive visualisations kept me going (there were cool enough to attract attention of well, umm... girls. I was a teenager, mind you). My high school graduation project was a 3d engine coded up from scratch in actionscript.

I took a break for two years while studying architecture, but then discovered all the amazing things you can do with space, geometry, networks and code. I am still discovering new avenues. I'm am a fully licensed architect (read buildings, not software) yet I now find myself coding all the time.

Re: Ask HN: How did you learn coding

#24
Back in 7th grade - about 5 years ago - I first found python. I had no idea what programming was, but i saw a game that I wanted to create and it said this is how.

I read the elusive documentation (to a 12 year old me, very elusive) word for word and just went with it.

At the time, I didnt't know what a compiler or an interpreter was so I just wrote it all down on paper and did the calculations/instructions in my head and wrote down the results. (I couldn't tell if I had an error or not)

After about 2-3 weeks, I quit. I couldn't understand anything really. I had no idea what a class was or what a method did. About a year later, I heard of minecraft and started playing that. I heard it was made with java so I went on youtube (which I recently found existed) and watched java game development tutorials.

Needless to say, it was hard and I didn't udnerstand anything. I didn't know java or anything.

After about 2 months or so of frustration, I found the official tutorial on oracle and started learning from that. It was hard and I did not learn anything.

in 9th grade - 3 years ago - I took computer science as a math elective class. I learn java a bit slowly but I understand almost everything due to my past failed attemps giving me some foundation.

During the summer after 9th grade, I started learning python again. I got all the way up to classes and such and stopped because I couldn't understand OOP in python because noone could even begin to teach OOP with python. I felt inadequate so I temporary stopped (quit).

During 10th grade, I started to really learn java. I bought tons of books and used the official tutorial with various other websites, and after all of my hard work. I understand the basics of java.

Skip to now - 12th grade - I'm learning extensive OOP programming concepts with java and learn how to create GUI applications with awt and swing (holding off javafx for now).

I'm mostly self-taught despite going to classes for 2 years of computer science in highschool.

I just really want to say, through all of my 4-5 years of experience on and off of learning programming: If you don't understand something, come back to it later.

Re: Ask HN: How did you learn coding

#25
I started on LOGO and Q-BASIC. (IBM PS/2, baby).

Everything I actually know about coding came about during my undergraduate engineering education, where a minimal amount of Matlab was needed for labs. I got super into it, then I installed linux, then I started writing my problem sets in LaTeX ...

Several years later, my second job made me into an actual developer for scientific computation, and that learning curve consisted of three years of pair-programming with a guy who has 30 years in the game. You learn quickly that way, and I had enough a foundation under me of my own making so that I didn't drown -- but not too much that all my bad habits were too hard to undo.

Re: Ask HN: How did you learn coding

#26
Phase 1: HTML and modifying other people's javascripts to add terrible animated cursors etc. to my personal page.

Phase 2: took a class in high school on Visual Basic and learned more on the side so that I could make games with it. Made a couple games with it.

Phase 3: took essentially Java Programming 101 at a local community college concurrently with high school, and started to get serious about making games.

Phase 4: made about 30 projects in Java—just whatever I felt like working on at the time—games, game engines, an emulator, 3D model loading/animating/rendering library, tools for making content for games. Almost none of these were completely finished but I learned a ton with each, and sort of climbed a ladder with it, trying progressively more difficult things all the time. This lasted ~3 years.

Phase 5: got a repetitive strain injury from typing/mousing too much and stopped coding (not completely, but nearly) for several years. Studied mathematics and language more deeply than what school prompted me to previously, somewhat hoping this knowledge would come in handy if I could return to coding some day.

Phase 6: decided to work on a major project that I believed would allow me to efficiently write code with motion sensors (thereby avoiding the injury). This ended up being a pretty deep, difficult project that was actually doing something sort of novel in software for the first time, and I learned tons working on it over the next year and a half, primarily about programming languages and architecture (http://westoncb.com/projects/tiledtext).

Phase 7: I've been writing software professionally off and on for a few years now, still occasionally returning to side projects. I still retain an awareness for areas I can improve, but it's more about using than developing skills now. I've returned to html/javascript after all these years. It's interesting.

Re: Ask HN: How did you learn coding

#27
Some self-taught BASIC via computer books and what I believe was an Apple 2 Manual, an intro level C++ class around 12 or so (my "for beginners" C game programming books before then weren't actually for beginners - assumed you knew hexadecimal, grokked pointers, etc.), and then a ton more reading online coupled with forums and IRC channel trolling. Learned a lot through "osmosis" - just listening and trying to understand people talking about programming subjects I hadn't known about before. If one spends some time in Japan to practice getting really fluent in Japanese, I spent a lot of time in programming circles getting fluent in Programming.

First I was curious as to how computers could possibly work, then I wanted to build things for computers, and then people wanted to pay me to build things for computers. It's worked out pretty well for me so far.

Re: Ask HN: How did you learn coding

#28
post #22

My parents bought the family a ZX Spectrum, which came with a BASIC manual and a summary of machine code instructions. I was 12 years old and it was the 1980s and there wasn't anything better to do.

whoa i'm also you in this. Angulo spanish Z80 asm book then. Local cs amateur club, "folks do you have the complete rom dissasembly?" (of the spectrum), answer: yeaaahhh... no. More childlier at my granpa's he had that cheesy computing magazine with few lines of basic. I was out of myself. woa, this is like math, but moving. Nobody cared but so what. Maths moved.

Re: Ask HN: How did you learn coding

#29
I'm a startup CTO with 10+ years of coding experience and I wrote a 7,000 word post on this topic entitled "My Long Journey to Knowing Software Sorta Well".

Still have yet to publish it elsewhere as I had planned to edit it extensively. I welcome feedback on this draft from HN readers, though!

http://simp.ly/publish/gsqMKl

Re: Ask HN: How did you learn coding

#30
In many cases. Telling others... yes! I can learn how to do that.

At 17 a friend of mine asked me some help to port an old (and probably still working) COBOL app. Project wasn't really financed and absolutely not intended to be a production ready solution.

At 20 I was still working on that project. At that time in production and at least with the budget for us.

Year after year I can tell that my knowledge was totally community driven. Than.. I understood Unix (yes Microsoft was everything for 10 years). And I definitely understood how to code looking at other's code.

Btw. Thanks everyone for the open source.

Post reply on HN