• 1 Post
  • 2 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • SeismicNote@lemmy.world
    cake
    toProgrammer Humor@lemmy.mlcoding chess
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    When I was learning c++ in high school, I made a working 10x10 implementation of Conway’s Life before I had learned about arrays.

    Even then I didn’t do it like this. Just had 200 variables for the front and back buffers, and one big function with individual checks for each grid coord variable to check it’s neighbors.