Comment

Comment by AlexanderDhoore

This could simply be done as an iterator over a string. Why all the fancy schmancy C++ features?

EDIT: I'm starting to suspect it actually is just an iterator. So why not say that? Instead of mentioning the ranges library, coroutines, generators ...

EDIT: Ok, so ranges make sense. Coroutines still seem overkill to me though.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton