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

> If you object to iostream on religious or stylistic grounds,

No I object to it on usability grounds. It took more than 30 years for the committee to admit it but C++ now has typesafe std::print/std::format finally, after admonishing programmers for using `printf` in C.



C++ only acquired the capabilities to have a statically type safe format string only recently.

Iostreams have a lot of issues, but overloading<< is a very minor one.




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

Search: