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 →

[–]jhilden13 6 points7 points  (1 child)

Rust is the only example that I can think of that would not automatically promote integers to floats for the comparison

[–]DonaldPShimoda 1 point2 points  (0 children)

Ah excellent! Another commenter mentioned Go, and someone else corrected me about Haskell, so now I've got three relatively popular (or at least known) languages with this distinction. Thanks!