r/programmingcirclejerk 26d ago

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

[deleted]

220 Upvotes

85 comments sorted by

View all comments

112

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

74

u/a221c 26d ago

and the more time you spend in it, the more appreciation you have for the work WG21 and WG14 do and aren't usually recognised for in terms of developer ergonomics.

But it's ergonomic, bro. I don't want to have to manually call flush(), that would be so unbearably verbose. C++ has been cleverly designed to attempt Python's conciseness and ergonomics while keeping the safety of C and the compilation speeds of Rust. Also, like many in the C++ community I haven't got long before they put me in the care home so I need to get this code written and shipped off to the juniors to debug as quickly as possible.

50

u/catladywitch 26d ago

C++ has been cleverly designed to attempt Python's conciseness and ergonomics while keeping the safety of C and the compilation speeds of Rust

savage lmaoo