Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Prefer views::meow (brevzin.github.io)
14 points by ibobev on March 17, 2023 | hide | past | favorite | 3 comments


It does seem like the existence of e.g. readily accessible constructors for std::ranges::transform_view is a mistake.

I'm not convinced it's worthwhile for the standard to insist they can be constructed from outside the views implementation at all, but certainly there's no reason to leave the constructor where programmers will use it by mistake.


Have you watched the show "Lost"? where they keep adding elements to the plot and the show just diverges more and more?

If Lost lasted for like 50 seasons, the result would be C++.

They keep adding crap and making it backwards compatible, and the result is this infinite mess that's impossible to learn.


Time to rewrite C++ :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: