Lemmy Coupou.fr
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
wolf4ood@lemmy.ml to Rust Programming@lemmy.ml · 2 years ago

Aim for Immutability

corrode.dev

external-link
message-square
2
link
fedilink
27
external-link

Aim for Immutability

corrode.dev

wolf4ood@lemmy.ml to Rust Programming@lemmy.ml · 2 years ago
message-square
2
link
fedilink
As programmers, we think a lot about state. Is the user logged in? Can this edge-case ever occur? Is the coffee pot empty again? The problem is, that humans are pretty bad at keeping track of state. That is, unless you're a Chess Grandmaste…
alert-triangle
You must log in or # to comment.
  • Black616Angel@feddit.de
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    That was a really good read.

    And although I also preferred the default being immutability for comprehension reasons, I never though about the runtime.

  • interceder270@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Biggest meme in programming.

Rust Programming@lemmy.ml

rust@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@lemmy.ml
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 6 users / week
  • 96 users / month
  • 562 users / 6 months
  • 1 local subscriber
  • 8.88K subscribers
  • 474 Posts
  • 1.29K Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • Joe@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org