this post was submitted on 22 Oct 2024
1462 points (96.4% liked)

memes

10020 readers
2924 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fuck_u_spez_in_particular@lemmy.world 6 points 1 day ago (1 children)

Psst... Have you heard of Rust yet?

[–] davidagain@lemmy.world 6 points 1 day ago* (last edited 1 day ago) (1 children)

I have nightmares where the borrow checker is shouting at me incomprehensibly about the literal bugs and I shoot them with the clone laser and the borrow checker stops shouting for ten seconds, but now there are two bugs for each original bug and Tim Berners Lee floats by saying it's not very idiomatic and I shouldn't expect to get to work on time if I just keep stopping along the journey to spend all my time cloning the bugs.

[–] fuck_u_spez_in_particular@lemmy.world 2 points 1 day ago (1 children)

Haha. On a more serious note, it gets better over time. I recommend keeping a really functional programming style in Rust and only opt out to imperative programming, when it just makes sense (e.g. to optimize, avoid allocs etc.). I'd say Rust is currently my most productive programming language, because I mostly avoid the time-consuming debugging part due to the strictness.

[–] davidagain@lemmy.world 1 points 21 hours ago

Thanks for the encouragement, kind fellow former redditor.