this post was submitted on 22 Feb 2024
696 points (96.4% liked)

Programmer Humor

32692 readers
340 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SeismicNote@lemmy.world 7 points 9 months 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.