Comment

Comment by dubi_steinkek

This seems to be a somewhat common occurrence. When I was first learning programming with python I wanted multiple balls in a pong-like game, so after some googling I ended up writing something like `globals()["ball" + i]` until someone mentioned that arrays were a thing I could use for that.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton