Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

The worst parts of Sepples

Name: Anonymous 2015-04-25 15:47

The standard "Streams". Its name hints at fast, intuitive interface that should simplify the Input/Output abstraction.
In reality its a template monster thats slow and extremely hard to use, beyond the simplest demo programs.

Name: Anonymous 2015-04-25 15:56

My favourite part of Sepples streams is formatter objects. Either, you have to input the correct formatter every time you print something, define an informal standard state you return to after using any non-standard format, or risk nonsense output in random places.

It's absolutely amazing how streams are not only a useless layer on top of stdio but actively harmful to any project using them. An API worthy of the likes of INTERCAL.

Name: Anonymous 2015-04-25 16:09

>>2
Passing stream objects to functions and receiving them is alot of pain.
Also the lack of std::bin for binary output in this huge library that has dozens of output states, unicode support and custom callbacks for stream events( http://www.cplusplus.com/reference/ios/ios_base/register_callback/ ) .

Name: Anonymous 2015-04-25 18:17

>>1
The <locale> library is the worst, imo, with the streams coming in second.

For common locale transformations, C++ locales is generally 10x-100x slower and more bloated than the C locale.h and cctype.h library functions.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List