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

> C++ code that uses raw pointers instead of references or that uses std::vector but never actually bothers to bounds-check anything.

When is the last time you accidentally mutated a raw pointer? My opinion is that references are just another C++ feature that solves a non-existent problem and has severe disadvantages. And that is non-orthogonality / combinatoric type system explosion. I've seen more than one codebase that consisted to a large degree of adapters for calling the same functionality.



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

Search: