News for hackers. Stuff that matters.
Re:The Logical Disaster of Null by AnimalMuppet on Thursday May 10, 2018 @12:37PM (#17040467)
I've seen this come up a couple of times in this discussion, so ELI5: What is "type flowing"?
Re:The Logical Disaster of Null by RX14 on Thursday May 10, 2018 @12:52PM (#17040608)
Flow typing is where the type of a variable changes based on control flow.

Consider:

    x : Int32 | String
    if x.is_a? Int32
      # typeof(x) == Int32
    else
      # typeof(x) == String
    end
Re:The Logical Disaster of Null by AnimalMuppet on Thursday May 10, 2018 @12:58PM (#17040670)
Thanks!