Comment

Comment by boring_twenties

os.Readdir has to be one of the stupidest, most broken interfaces I've ever seen.

Reading the whole dir into an array is bad enough as it is, but they even call stat() on every file too.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton