v21’s avatarv21’s Twitter Archive—№ 75,005

  1. i wish Dart did the Typescript thing of inferring that a variable isn't null if you just checked for that
    1. …in reply to @v21
      like, if (val != null) { functionWithNonNullArg(val); } should be fine without having to put the little exclamation mark in there to reassure the compiler