Time for some warm-and-fuzzies! What happy memories do you have from your early days of getting into computers/programming, whenever those early days happened to be?

When I was in middle school, I read an article in Discover Magazine about “artificial life” — computer simulations of biological systems. This sent me off on the path of trying to make a simulation of bugs that ran around and ate each other. My tool of choice was PowerBASIC, which was like QBasic except that it could compile to .EXE files. I decided there would be animals that could move, and plants that could also move. To implement a rule like “when the animal is near the plant, it will chase the plant,” I needed to compute distances between points given their x- and y-coordinates. I knew the Pythagorean theorem, and I realized that the line between the plant and the animal is the hypotenuse of a right triangle. Tada: I had invented the distance formula!

  • HakFoo@lemmy.sdf.org
    link
    fedilink
    arrow-up
    12
    ·
    8 days ago

    In the mid-1990s, my family had a 386/16 and I had started to get into programming.

    One night, my father comes in and notes a neighbour has put out mountains of old magazines.

    I end up with like 5 years of mid-80s Compute!, the sort that were 60% code listings by weight. Judging by the annotations, the neighbour had an Atari 800-series. I only actually typed in a few of the programs, but there was a lot of technique to learn from.

    Said neighbour also left out several stacks of similar vintage pornographic magazines. My brother took those, and that’s arguably where we started to diverge.