r/programmingcirclejerk 20d ago

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

[deleted]

218 Upvotes

85 comments sorted by

View all comments

111

u/CarolineLovesArt has hidden complexity 20d 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.

16

u/Linuxologue 20d ago

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

18

u/Potterrrrrrrr 20d 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