Comment

Comment by BerislavLopac

It's not just repetitive; this particular example actually creates a list before starting the external loop -- imagine it with range(100000000) or something. It is better if you replace [] with (), which creates a generator.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton