Live data from Hacker News

Ask HN: How did you learn to code?

news.ycombinator.com

71–80 of 89 posts

Re: Ask HN: How did you learn to code?

#72
post #7

On the brand new and shiny 486 running dos and windows 3.1 that my father bought, on the qbasic language. With only a paper book as reference. No llm, no stackoverflow, no pageranked search engine, no internet, and not even Ctrl+F. In these days when you had a bug, you could chew on it for days.

Similar for me but maybe on a 386; used this 1989 book which had its own version of quickbasic called qbi since qbasic only got added to ms-dos in 1991.

https://www.amazon.com/Learn-Basic-Now-Mike-Halvorson/dp/155...

Re: Ask HN: How did you learn to code?

#74

Copying listings from computer magazines into a ZX81 ... could never get the damn tape drive to save anything that would then reload (either a cheap tape deck, or cheap tapes)... so had no choice but to hand-code. Also, didn't have the cash to go buy games from the local computer store so this was the next best thing...

This and a Z80 assembler book to speed up a bit code because the basic was really too slow to do anything (had the 16k memory extention too because 800 and something octet were not enough)

Re: Ask HN: How did you learn to code?

#76
I wrote my first program on an Atari 150XR from a book of write your own adventure at 7y/o, but I have to say I didn't learn to program until much later. At 13 I started doing my own websites with Netscape and I studied from ages 14-18 to be an accountant. At that time we have to do all calculations and reports by hand and I my teacher allowed me to make the assignments in excel 97. Fast forward a couple of years I started to "patch" and install different bulletin boards such as VBulletin, PhpBB, InvisionBB. I think it was maintaining this that I learned how to code.

Re: Ask HN: How did you learn to code?

#77
I'm not a professional programmer/developer. I learned to code with Autohotkey so I could save hours a day stitching shitty corporate software together and automate the use of that software; the developers appeared to have been paid by the number of clicks a user needed to do to get anything done.

I also used it for pranks.

This was all in my 30s.

Having caught the bug I now wish I'd discovered this stuff earlier. But due to being extremely poor growing up, undiagnosed dyslexia and another learning disability, and a mistrust of all technology, it was not to be.

I still love Autohotkey but mostly have moved on to "real" programming languages. Nothing better than getting the computer to do your job for you. So most of my programming is automation.

Re: Ask HN: How did you learn to code?

#78
no internet yet. was a computer store, they sold some games on floppy, i was like 11 , buying doom on floppy i think or looking at it. the onwer saw it and recommended a book which was about visual basic or quick basic. i told him i wanted to buy the game and he said i wasnt allowed (too violent) and i should buy the book instead..he'd discount it to match the games ' price.

ended up being real thankful for that guy and the kid who showed me that shop and later (15 years later...) got me my first job in IT.

wonderful ppl :)

Re: Ask HN: How did you learn to code?

#79
I first learned a Logo dialect in Spanish that we used at school (“HAL Logo en Español”, do not confuse with HAL Laboratories). We had a Commodore-128 laboratory at school (about eight machines with disk drives and monitors). I started learning Logo when I was 8, by the time I was twelve I could program a bit of BASIC also, but not much since literature was scarce.

When I was 12 convinced my dad to get me Commodore 64 instead of a graduation trip (graduation trips are customary in Argentina when you finish primary and secondary school). We bought a used one for U$S 200.

This was 1989 and the social and economic landscape in Argentina was a mess. That year the inflation rate was over 3000% (it is not a typo) and those 200 dollars were a lot of money.

After we got it, my parents were concerned that I might get too obsessed with the computer, so they placed some additional constraints on when I could use it (the fact that we had only one TV might have also been a factor in his decision). I was allowed to use it only on Saturday mornings before noon.

Note that I just got the computer, I didn't have any storage medium.

One great thing about the Commodore 64 was that it came with BASIC, but most importantly, it came with a manual! The Commodore’s Basic manual was my first programming book.

What happened was that I was forced to work as if I had punched cards. I would spend most of my spare time during the week writing programs in a notebook I had. Thinking about ways to solve problems and reading and re-reading the C64 manual.

On Saturday mornings I would wake up at 6 am and hook-up the computer to the TV and start typing whatever program I was working on that week. Run it and debug it, improve it and around noon my mom would start reminding me that time was up. So at that point I began listing the BASIC source code and copying it back to my notebook.

Over the next few years I learned a lot, I re-discovered bubble-sort on my own (I learned the name much later), built hardware gizmos connected to the user port and I even made a very simple multi-tasking interpreter (I eventually got a datasette).

After high-school I studied Software Engineering (not exactly, but the name in Spanish doesn't translate well) and then I really learned to program (heck, I'm still learning).

Re: Ask HN: How did you learn to code?

#80
post #79

I first learned a Logo dialect in Spanish that we used at school (“HAL Logo en Español”, do not confuse with HAL Laboratories). We had a Commodore-128 laboratory at school (about eight machines with disk drives and monitors). I started learning Logo when I was 8, by the time I was twelve I could program a bit of BASIC also, but not much since literature was scarce. When I was 12 convinced my dad to get me Commodore 6…

Cool story.

Basic comes up in lots of stories here.

Post reply on HN