this post was submitted on 22 Oct 2024
1529 points (96.6% liked)

memes

10440 readers
2435 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 [email protected]

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
[–] [email protected] 6 points 1 month ago (1 children)

Psst... Have you heard of Rust yet?

[–] [email protected] 6 points 1 month ago* (last edited 1 month 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.

[–] [email protected] 2 points 1 month 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.

[–] [email protected] 1 points 1 month ago

Thanks for the encouragement, kind fellow former redditor.