74
submitted 1 month ago by 4ffy@lemmy.ml to c/rust@programming.dev
top 9 comments
sorted by: hot top controversial new old
[-] PlexSheep@infosec.pub 12 points 1 month ago

Reading this, the return impl complexity seemed insane.

Then, by accident, i programmed on a pet project until 4 in the night, and boom, I've had the exact problem they're solving. Remembered that I usually need an extra lifetime in the impl definition, and boom, it worked. Doesn't seem so insane anymore.

(Was working on a little Webservice with warp, and returning their filters from a function)

[-] gedhrel@lemmy.world 8 points 1 month ago

That seems like quite a lot of booms.

[-] PlexSheep@infosec.pub 6 points 1 month ago

Return impl go boom

[-] BB_C@programming.dev 1 points 1 month ago

Gross!

Unprofessional.
This is why no one takes Rust seriously.

[-] runiq@feddit.org 17 points 1 month ago
[-] gedhrel@lemmy.world 14 points 1 month ago

I have observed people taking Rust seriously. You need to reexamine your assumptions.

We have an evolved capability to short-circuit decisions with a rapid emotional evaluation. It means as a species we didn't die out early ["that's a lion; I'm a oerson; lions eat people ergo... Agh!" is not a sustainable strategy] - what's amazing is that we can also apply it to elarned abstract things like an aestetic sense about programming languages. Such instincts aren't always perfect, but they're still worth paying attention to. I don't see a reason not to express that in a blog post, but you can replace it with "this is unergonomic and in some cases imprecise" if you prefer.

[-] TehPers@beehaw.org 12 points 1 month ago

Sorry if I'm missing some sarcasm here, but if this is all you have to contribute, then as a professional software developer, I'd much rather work with the author of the article on a daily basis.

[-] calcopiritus@lemmy.world 6 points 1 month ago

At this rate, the US government won't even consider it as an option! Rust is practically a hippie language.

[-] BB_C@programming.dev 1 points 1 month ago

..and that's how you drive up metrics.

this post was submitted on 07 Sep 2024
74 points (100.0% liked)

Rust

5876 readers
103 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS