Skip to content

Comment on Ask HN: When was your "ah-ha" moment when learning how to program?

Comments

When I was 12 I took the Commodore VIC-20 Programmer's reference guide to spain on vacation (!) for 2 weeks. I figured out how to program assembly and hand-assembled a short program to rapidly toggle the screen color from black-to-white.

Hmm if I try real hard I can probably recreate it here: 169 0 141 15 144 169 1 141 15 144 76 0 32

Anyway, when I got home, I tried it out. It changes the screen color, but then crashed because of a mistake in the loop instruction.

That was definitely an AHA moment - realizing how CPU's work.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.