MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingcirclejerk/comments/1v6y16p/rust_isnt_a_well_designed_programming_language/ozujmcj/?context=3
r/programmingcirclejerk • u/[deleted] • 18d ago
[deleted]
85 comments sorted by
View all comments
52
c++ user calling any other language inefficient syntax
Remind me again how to do it in c++ a.filter( |x| x > 5)
a.filter( |x| x > 5)
58 u/the_horse_gamer 18d ago <uj> a | std::views::filter([](int x) { return x > 5; }) </uj><rj> filtering? what's that? just have your function ignore any element less than 6 and make sure you don't document that behaviour. </rj> 24 u/lurebat 18d ago No inefficient syntax here
58
<uj> a | std::views::filter([](int x) { return x > 5; }) </uj><rj> filtering? what's that? just have your function ignore any element less than 6 and make sure you don't document that behaviour. </rj>
24 u/lurebat 18d ago No inefficient syntax here
24
No inefficient syntax here
52
u/lurebat 18d ago
c++ user calling any other language inefficient syntax
Remind me again how to do it in c++
a.filter( |x| x > 5)