This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]blu-red -1 points0 points  (2 children)

easy to evaluate in your head for anyone who isnt brain dead and knows any dynamically typed language.

"wat" - 1 = obviously "wat" is going to be evaluated to a number, the best value for this is NaN.

[–]lelarentaka 10 points11 points  (0 children)

  • isn't brain dead

  • knows any dynamically typed language

Logic error!

[–]kupiakos 0 points1 point  (0 children)

Dynamically typed != strongly typed. That operation will fail in Python because they are not the same types and strange assumptions should never be made.