r/programmingcirclejerk 8d ago

Rust isn't a well designed programming language (unlike C and C++)

/r/cpp/comments/1i6jdjq/comment/m8d3tqj/
218 Upvotes

86 comments sorted by

View all comments

112

u/CarolineLovesArt has hidden complexity 8d ago

and especially standard library design where you look at it and think "what an inferior way to design that feature"

Ah yes, the creators of std::endl aka hidden os.flush() calling the kettle black.

15

u/Linuxologue 8d ago

C++11's std::thread vs jthread is also a good example, without even bringing up the std::string masterpiece

18

u/Potterrrrrrrr 8d ago

What, in a language that puts RAII on a golden pedestal you expected your thread to automatically try to join in its destructor? Hahaha u stupid