Comment

Comment by reddit_clone

Talking about un-guessable, misleading function names,

C++ std::remove.

I would never have guessed what it does exactly. (It moves elements that match the filter to the front, and moves the end-marker forward. Leaves all the elements in the collection. You need to erase them yourself. )

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton