v21’s avatarv21’s Twitter Archive—№ 72,144

    1. …in reply to @ra
      @ra I read this tweet and thought I disagreed - static typing all the way! But then I remembered the "duck" type in Boo, and how nice it was. A type you explicitly give to say "don't typecheck this variable, let it fail at runtime instead".
  1. …in reply to @v21
    @ra It gives you an escape hatch when you can't get the types into the right shape or when dealing with stuff of a random shape, but also gives you control over the chaos. And you can do stuff as duck while hashing it out and then later add typechecking when you know how it'll work.