[-] dudinax@programming.dev 3 points 2 weeks ago

Here's some of my personal complaints. I don't in general know how to fix them.

  1. proc_macros need their own crate

  2. generics cause problems. Many useful macros can't handle them. Try using a generic that's a complex async function, then pass a closure to it.

  3. There's this kind of weird mismatch where sometimes you want an enum wrapping various types, and in others generics. I find my data flows switching back and forth.

  4. async in rust is actually really good, but go does it better. I don't think rust could match go without becoming a different language.

  5. Traits are just a big mess. Trait implementations with generics have to be mutually exclusive, but there aren't any good tools to make them so. The orphaned trait rule is necessary to keep the language sane but is incredibly restricting. Just today I find certain a attribute macros for impls that doesn't work on trait impls. I guess I have to write wrappers for every trait method.

  6. The "new type" pattern. Ugh. Just make something like a type alias that creates a distinct type. This one's probably easy to fix.

  7. Cargo is truly great, but it's a mystery to me right now how I'm going to get it to work with certain packaging systems.

To me, Rust is a bunch of great pieces that don't fit together well.

[-] dudinax@programming.dev 25 points 2 weeks ago

Rust. It's a qualitative improvement over the old ways.

The future won't belong to Rust itself, but one of its descendants. Rust is too clunky to be the ultimate expression of its best ideas.

[-] dudinax@programming.dev 5 points 2 weeks ago

By definition

[-] dudinax@programming.dev 4 points 2 weeks ago

From the book: They were insistent. Elrond in particular thought Pippin was going to screw things up, which he did. Gandalf told Elrond they should trust to friendship more than wisdom, since in this particular matter even the wise couldn't see how to succeed.

[-] dudinax@programming.dev 4 points 2 weeks ago

The churches are the heart of Donnys support. People wonder how this could happen its because of these guys.

[-] dudinax@programming.dev 10 points 2 weeks ago

The day Trump flip-flopped on Tik Tok, my wife's feed started to carry humanizing Trump videos. They've since disappeared.

[-] dudinax@programming.dev 11 points 2 weeks ago

No, u/dirthawker0 is supporting your point.

[-] dudinax@programming.dev 8 points 2 weeks ago* (last edited 2 weeks ago)

Way back in the 1000's, I got detention for ctrl-breaking out of an autoexec.bat and looking around the hard drive. I also lost an internship.

[-] dudinax@programming.dev 2 points 3 weeks ago

Bill the Galactic Hero vibes.

[-] dudinax@programming.dev 3 points 3 weeks ago

Sorry, but slang isn't universal.

[-] dudinax@programming.dev 9 points 3 weeks ago

If you're old enough, she's correct.

view more: ‹ prev next ›

dudinax

joined 1 year ago