top | item 39502395

(no title)

dstanko | 2 years ago

Do you perceive Rust programmers as extraordinary?

discuss

order

foofie|2 years ago

Rust is renowned for imposing a high cognitive load on all but the most trivial tasks. This is perhaps the worst traits a programming language can have.

pornel|2 years ago

It’s quite the opposite. It may not be worth learning Rust for small simple programs, but it has an entire toolbox of features for dealing with complex problems and large programs.

For example, dealing with multi-threading and low-level memory management without the assistance of thread-safe types and borrow checker adds mental overhead of verifying and upholding all the requirements manually.

steveklabnik|2 years ago

This is a thing people experience at the beginning, but once you get over the hump, for many, it is not descriptive of what it's like.

stouset|2 years ago

Rust is memed for that by people who don’t actually program Rust.

In practice it is absolutely the opposite. Rust makes really challenging problems extremely tractable, and takes an enormous amount of mental overhead off the table.

erik_seaberg|2 years ago

That cognitive load around ownership and sharing already existed in C and even assembly, we were just managing it very poorly without tooling.

frankjr|2 years ago

> Rust is renowned for imposing a high cognitive load on all but the most trivial tasks.

By whom exactly? I think it's actually the exact opposite. It completely frees you from having to think about entire classes of bugs.

jvanderbot|2 years ago

I don't think GP meant that as "of extraordinary ability" just "tackling the common problems people write code for". Ordinary problems vs ordinary people.

kybernetyk|2 years ago

extraordinarily masochistic, yes