Live data from Hacker News

How did you guys learn how to code?

news.ycombinator.com

11–20 of 29 posts

Re: How did you guys learn how to code?

#12
Took a FORTRAN class in high school (with actual punched cards). Then read the TRS-80 BASIC manual one hour in high school when I was supposed to be paying attention in calculus class. (Experimented after hours - never took the in high school's CS class.) Then read K&R, then read a Pascal book. Then read Stroustrup.

Re: How did you guys learn how to code?

#15
My first exposure to programming was on a Commodore PET, in BASIC. Back then you were expected to be able to write your own code if necessary. The facilities to run code were included in every computer, unlike now, where it's all apps from the app store.

If I had to teach someone from scratch now, I'd teach the basics of text editing, files, etc... then Python, something immediate mode, like BASIC was.

Re: How did you guys learn how to code?

#16
1. By looking at other people’s code - specifically, ‘view source’ in webpages 2. By playing around with a simple language and reading it’s documentation (QBASIC in my case) 3. By taking a few classes in high school 4. By getting my bachelor’s in computer science in a program that focused on interactive web technology 5. By faking it til I was making it for the entire rest of my career, because once you learn one language, it’s a much shorter jump to learn the next.

Re: How did you guys learn how to code?

#17
I started out making my own websites at about 12 or 13, when we moved to the US and got a computer. Then I got into making JavaScript browser games. Then I moved and got a job in games as a build engineer (which was more scripting-type and configuration work), and proactively took on more and more tools programming tasks from there to shape the job into a more programming-heavy role. After shipping my first game there, I joined the next game team as a tools engineer. I also made games and life simulations at home in my spare time. From there I ended up working in core tech, engine teams, backend development, etc.

So most of it was learned through hobby projects and on the job. I am especially grateful for a teammate who was a very thorough and strict code reviewer. He helped make me into a better programmer by meticulously considering and questioning every line of code I wrote.

Re: How did you guys learn how to code?

#18
Sinclair ZX81. First using its built-in BASIC. Curiosity about what made it tick, combined with a 'need for speed' got me into Z80 assembly.

At one point used this puny machine to compute the digits of one of the largest Mersenne primes then-known to science (mid or late 80s). Not find that number of course, just produce a decimal representation of it.

On its successor, the ZX Spectrum, I got into cracking copy protections, POKEs for infinite lives etc.

MSX machines got me into hardware mods (RAM expansions, floppy drive replacements, repairs & much more).

Didn't turn coding into a profession though. But the hacker mindset never went away.

Re: How did you guys learn how to code?

#19
High school in the 80s, I wanted to get the $50 Timex Sinclair self-assembly kit. After a back-and-forth with my parents, finally convinced them to get an Atari 400, though they really hated the membrane keyboard making it seem like a toy than a serious machine.

That was the best thing I ever got. All I had was the BASIC cartridge, Asteroids cartridge, and the intro to basic that came with it. I had no storage--that was the compromise for the step upgrade. It was a great lesson to spend literal days writing, refining, and perfecting a program. Only to eventually get bored "I wanna play Asteroids, poof." Eventually I hung around the right places, met folks, read magazines, learned machine-then-assembly language. Everything since then has been pretty easy building on all the low-level stuff. C, oh like assembly but more convenient. It was also fun to disassemble the games I got to see how they worked. Some of the worst games had the best copy protection--they must have thought highly of their creation.

Every computer since then has pretty much been a 'business machine', not nearly as much fun. Even the Atari ST with its M68k seemed very work-like. Lucky for me, I liked worky things too, learning the early Windows, OS/2, NT SDKs etc. The NeXTSTEP OS and Interface Builder blew my mind.

Re: How did you guys learn how to code?

#20

High school in the 80s, I wanted to get the $50 Timex Sinclair self-assembly kit. After a back-and-forth with my parents, finally convinced them to get an Atari 400, though they really hated the membrane keyboard making it seem like a toy than a serious machine. That was the best thing I ever got. All I had was the BASIC cartridge, Asteroids cartridge, and the intro to basic that came with it. I had no storage--that…

Such a good tale. I can relate to typing out programs from magazines borrowed from the library - but at least I had storage!
Post reply on HN