v21’s avatarv21’s Twitter Archive—№ 67,808

  1. rust opinion: i was expecting the borrow checker to give me grief all the time, but actually most faff comes from having to explicitly deal with what type of number a number is.
    1. …in reply to @v21
      u8 or usize or i64 or f64 or whatever else is going on. and every time a different type of number has to interact with another one, you've got to explicitly cast it. ugly math.
      1. …in reply to @v21
        brb, off to draft an RFC to replace all the numeric types with Number. if it works for Javascript...!