ra’s avatarra’s Twitter Archive—№ 30,146

  1. here’s where it gets interesting. DateTime/Compare is only defined for two DateTimes. This code will always fail.
    oh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @ra
      the current compiler will emit casts anyway and fail at runtime with a pretty bad error message
      oh my god twitter doesn’t include alt text from images in their API
      1. …in reply to @ra
        there’s an opportunity here to fail at compile time with a better error message
        1. …in reply to @ra
          heres the catch: because the compiler is functional i can build both compilation paths and swap between them at will. no need to decide now!