77
Azae
7y

Oh glorious JavaScript !

Source : https://destroyallsoftware.com/talk...

Comments
  • 2
    Made my day! :D
  • 0
    IEEE756 strikes again
  • 4
    Love this talk but this is actually very reasonable behaviour tbh. Subtracting from a string doesnt make sense
  • 0
    @musician It, in fact, is almost as if you're doing maths on something that's not a number 🤔
  • 0
    @musician we should make a case for those times when that happens ... and, ... keep with me on this one ... I think that we should call them Exceptions
  • 0
    glorious
  • 0
    @nikolaandj this aint java. Coercion can also be very useful. Use typescript if you want exceptions.
  • 0
    @musician in that case this is a valid operation. Either you want exceptions when this comes along and accept typechecking, or you don't want typechecking and deal with this as valid input
  • 1
    Ehm ehm... coincidence?
  • 0
    Please stop making fun of IEEE standarts, it makes you look dumb or even worse you start turning into a personified internet explorer.
  • 1
    Wow, I independently watched this video exactly 5 minutes ago and then scrolled through devrant to see that post.
    What a coincidence
Add Comment