News for hackers. Stuff that matters.
Re:Modern C [pdf] by AsyncAwait on Monday November 28, 2016 @08:34AM (#13055261)
> Rust has "immutable variables". Seriously? How can an object be both variable and immutable?

"Immutable variables" is frequently used, true, but the official term is "immutable bindings".

Re:Modern C [pdf] by SQLite on Monday November 28, 2016 @08:44AM (#13055317)
Reassuring news. Thanks.
Re:Modern C [pdf] by steveklabnik on Monday November 28, 2016 @11:00AM (#13056220)
To elaborate slightly, there's three components here:

    let x = 5;
    let mut y = 6;
The let statement binds a variable to a value:

  * x and y are the variables
  * 5 and 6 are values
  * let does the binding
You can have an immutable binding, like x, or a mutable binding, like y. But most people turn "a bound variable" into "a variable" (or "an immutable variable") and "a mutably bound variable" into a "mutable variable".