53
Confession (feddit.nu)
submitted 2 days ago* (last edited 2 days ago) by SufferingSteve@feddit.nu to c/rust@lemmy.ml

I have been programming in Rust for about 8 years now. I love the language. But I feel I have some confessions I must make.

  1. I don't know if I use tabs or spaces in my final code. I just assume that it all get solved correctly by cargo fmt. I don't even understand that people have been arguing about this for real? I vaguely remember this being important in C and C++, but I am hoping I never go back to those dark days.

  2. I never do linebreaks, not even when adding my semicolons. I hit ":w" and if shit doesn't move around on my screen, I fucked up somewhere.

  3. The only lifetime I ever use is '_, 'a or 'static otherwise I give up

  4. Wtf is the 'de lifetime in serde deserialize??

  5. Rocket is the best web server

  6. I actively chose software written in Rust over other software, even if it's not better, and I argue that it is.

Okay, got that of my chest. Never dared telling anyone this before. Feels scary

you are viewing a single comment's thread
view the rest of the comments
[-] grapemix@lemmy.ml 4 points 16 hours ago

Rust is not just beginner unfriendly, rust is also intermediate lvl unfriendly and very hard to read others' code.

But at the same time, I also like it....

[-] SufferingSteve@feddit.nu 2 points 14 hours ago

Could not agree less. Reading others code is easy as pie in this language. Enforced standards, good automatic comment generation.

It's amazing

this post was submitted on 28 Feb 2025
53 points (100.0% liked)

Rust Programming

8431 readers
13 users here now

founded 5 years ago
MODERATORS