Remix.run Logo
dayvster 3 days ago

> Seasoned Rust coders don’t spend time fighting the borrow checker

No true scotsman would ever be confused by the borrow checker.

i've seen plenty of rust projects open source and otherwise that utilise Arc heavily or use clone and/or copy all over the place.

vrmiguel 2 days ago | parent | next [-]

Why would using Arc mean that someone is fighting the borrow checker, or confused by it?

Would you also say the same for a C++ project that uses shared_ptrs everywhere?

The clone quip doesn't work super well when comparing to C++ since that language "clones" data implicitly all the time

fkyoureadthedoc 3 days ago | parent | prev | next [-]

I'm starting to think No True HNer goes without misidentifying a No True Scotsman fallacy.

They are clearly just saying as you become more proficient with X, Y is less of a problem. Not that if the borrow checker is blocking you that you aren't a real Rust programmer.

Let's say you're trying to get into running. You express that you can't breathe well during the exercise and it's a miserable experience. One of your friends tells you that as an experienced runner they don't encounter that in the same way anymore, and running is thus more enjoyable. Do you start screeching No True Scotsman!! at them? I think not.

Ygg2 3 days ago | parent | prev [-]

> > Seasoned Rust coders don’t spend time fighting the borrow checker

> No true scotsman would ever be confused by the borrow checker.

I'd take that No true scotsman over the "Real C programmers write code without CVE" for $5000.

Also you are strawmanning the argument. GP said, "As a seasoned veteran of Rust you learn to think like the borrow checkers." vs "Real Rust programmers were born with knowledge of borrow checker".