this post was submitted on 28 Feb 2025
51 points (94.7% liked)

Rust Programming

8431 readers
25 users here now

founded 5 years ago
MODERATORS
51
Confession (feddit.nu)
submitted 1 day ago* (last edited 1 day 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
[โ€“] SufferingSteve@feddit.nu 3 points 1 day ago (1 children)

Oh yeah, not only inexperienced, but uncaring. Python is for people who truly do not care. They want it to "just work" and once it worked once, it's done.

And then they notice it wasn't done, slap some shifty patchwork on top of it. Prince and repeat for a truly masterful piece of spaghetti al dente

[โ€“] Ephera@lemmy.ml 2 points 1 day ago (1 children)

Prince and repeat

That should be an album name or something. ๐Ÿ™ƒ

I assume, autocorrect got you, but just in case, it's "rinse and repeat".

[โ€“] SufferingSteve@feddit.nu 2 points 5 hours ago

I am aware. I even saw it while typing, but it was a typo that made my smile, while offending almost no-one. So I left it there for future smiles :)