Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C++'s ranges came from D, but C++ decided to construct ranges from a (begin, end) pair, which is not as good as D's design. D's ranges are constructed from a (pointer,length) pair.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: