News for hackers. Stuff that matters.
Re:Why Dart Types Are Optional and Unsound by ot on Thursday January 05, 2012 @09:39PM (#3431681)

  mammal = cow;      // [1]
  pig = mammal;      // [2] Checks OK statically, but now pig holds a Cow.
  print(pig.oink()); // [3] NoSuchMethodException if we get this far.
As far as I understand this means that no precondition can be encoded in the variable type. A function with a Pig argument can still cause a NoSuchMethodException exception because the argument can actually hold a Cow instance.
Re:Why Dart Types Are Optional and Unsound by jbri on Thursday January 05, 2012 @11:16PM (#3431941)
You still have a precondition encoded in the parameter type. It's just a precondition for the programmer to see and understand, rather than one for the machine to rigorously enforce.