Live data from Hacker News

How did you guys learn how to code?

news.ycombinator.com

21–29 of 29 posts

Re: How did you guys learn how to code?

#21
I remember doing BASIC on my grandma's Apple II. Then I was programming my TI-89. I did a lot of Python, Matlab, and Java in college for geophysical engineering. My first job was GIS web development. Now I'm a senior software engineer learning from other engineers while earning a master's degree in cyber security.

I guess I'm still learning how to code :)

Re: How did you guys learn how to code?

#22
Back in 2013 I decided to give a try in programming. I did not have much self confidence throughout my life so it was a major decision.

Since I wanted to do game programming I taught myself C++. I still remember the three books I borrowed, one is Deitel's "C++ How to program", one is "C++ Primer" and the third is "Walls and mirrors", a book about data structure and algorithms.

I read about 60% into the first two books and half into the third one, did a few trivial game projects, eventually stopped at writing a 2D tile based rpg engine. I was thinking a little too complex at the moment, that I would like to implement a scripting language amd an editor inside of the engine (NWN is a major inspiration). Eventually I got a basic editor running up and sort of xml-like configuration language for scripting, but the project is too messy so I stopped working on it.

Anyway that is probably the most complicated project I worked on. I took a second shot last year, taking another route using MapEditor as the map editor and implemented shadow casting. But then I dropped the project again. It was not as interesting as it was 10 years ago.

Re: How did you guys learn how to code?

#24
No formal training. I'm old enough that my first experience was copying other people's code from books. Then I graduated to copying code from online manuals and forums. Then I made a thing and people gave me money.

Re: How did you guys learn how to code?

#25
When I was 12-13 I wanted to get a new gaming laptop, and so learned enough HTML to sell custom websites on Craigslist for $50 a pop over a summer, and made close to $600 (my parents helped cover the rest).

That turned into php and custom wordpress implementations for more money (all terribly coded in retrospect). I even ended up making a 100% custom CMS for our WoW guild website.

I've never been great at sitting down with a book to learn, and need a problem I'm trying to actively solve (with much googling).

Re: How did you guys learn how to code?

#26
I was hired by Travelocity as a designer before jQuery was popular. I was involuntarily reassigned from design to a front end developer position and told to figure it out. One of my coworkers gifted me a book about the DOM and I taught myself to program in JavaScript.

When you are self taught you selectively avoid so much garbage that formally educated developers cannot live without. I guess when the education is entirely a cost of your personal time and frustration you tend to prefer utility over convention and durability over convenience. You don’t want to waste time on unnecessary things yet simultaneously don’t want to indefinitely repair sloppy code easily written with weakness and laziness.

Re: How did you guys learn how to code?

#27

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…

I have pretty much the same story, started with a Vic20 (without storage), got the 4K expansion cartridge when my programs stated to exceed the builtin 3.5k, moved on to the Apple 2 and the Commodore 64 and then on to PCs. Mostly learning in basic and then I was doing a lot of dBase in the mid to late 80's, learned C & Fortran in HS and then I learned C, Fortran, PAscal and Assembler in college. The on to VB, C++ and then I pretty much stopped programming for profit in 1999 and moved into operations. In about 2015 I started coding in Python, life is so different when you have Google, stackoverflow and a module that does pretty much anything you want -why didn't this stuff exist why back when.

Re: How did you guys learn how to code?

#28

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…

I have pretty much the same story, started with a Vic20 (without storage), got the 4K expansion cartridge when my programs stated to exceed the builtin 3.5k, moved on to the Apple 2 and the Commodore 64 and then on to PCs. Mostly learning in basic and then I was doing a lot of dBase in the mid to late 80's, learned C & Fortran in HS and then I learned C, Fortran, PAscal and Assembler in college. The on to VB, C++ and…

Oh yeah, I forgot about that one! I got paid as a kid doing dBase II on Xerox CP/M then III/IV on Olivetti PC too. Before I saw NeXTSTEP, Visual Basic 1.0 was amazing. I was lucky enough to get paid to make a similar GUI builder for OS/2 and NT. Coding for work was pretty straight forward, except for the occasional multithreaded work. It wasn't until seeing completely different languages like SmallTalk, Lisp, or OCaml that it got exciting again. Perl for me was just, why? I briefly saw Python used by some ops folks on QNX but I didn't venture into the whitespace is significant territory to see its goodness until much much later.

Re: How did you guys learn how to code?

#29

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 prote…

I started programming BASIC on the ZX Spectrum, and later moved to Z80 assembly for the same reason - wanting to have infinite lives/energy for games.

Removing protection started out being easy, but over time got pretty complex. I remember the various Speedlock protections quite fondly, with their various decryption routines layered upon top of each other.

Post reply on HN