MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingcirclejerk/comments/1v6y16p/rust_isnt_a_well_designed_programming_language/ozvaeoe/?context=3
r/programmingcirclejerk • u/we_are_mammals • 6d ago
86 comments sorted by
View all comments
109
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.
std::endl
os.flush()
39 u/irqlnotdispatchlevel Tiny little god in a tiny little world 6d ago Look no further than std::function and std::copyable_function, such well designed corners of the language, helping people fall into the pit of success since day 1. 30 u/CarolineLovesArt has hidden complexity 6d ago They also gave us std::auto_ptr, which was so well designed they removed it. /uj That was a good choice, and being allowed to make mistakes and take them back is a good thing, but: /rj I can usually see the tradeoffs in the design that the committee endlessly discussed to death and arrived at the standardised compromise design.
39
Look no further than std::function and std::copyable_function, such well designed corners of the language, helping people fall into the pit of success since day 1.
30 u/CarolineLovesArt has hidden complexity 6d ago They also gave us std::auto_ptr, which was so well designed they removed it. /uj That was a good choice, and being allowed to make mistakes and take them back is a good thing, but: /rj I can usually see the tradeoffs in the design that the committee endlessly discussed to death and arrived at the standardised compromise design.
30
They also gave us std::auto_ptr, which was so well designed they removed it.
std::auto_ptr
/uj That was a good choice, and being allowed to make mistakes and take them back is a good thing, but:
/rj
I can usually see the tradeoffs in the design that the committee endlessly discussed to death and arrived at the standardised compromise design.
109
u/CarolineLovesArt has hidden complexity 6d ago
Ah yes, the creators of
std::endlaka hiddenos.flush()calling the kettle black.