View Single Post
01-16-11, 09:57 AM   #22
desfido
A Defias Bandit
Join Date: Mar 2005
Posts: 2
Originally Posted by Ketho View Post
That's called Coercion right? or am I mistaking it for something else ><
You're correct.

One thing that I'd definitely make a note of, though, is that coercion occurs in statically typed languages as well, particularly the ones people tend to be most familiar with (C, C++, Java). While they don't directly say that it doesn't in your link, they write in such a way that it could be incorrectly inferred that coercion is about static vs dynamic typing, when it's not. In fact, one that many people who write in C, C++, & Java often make use of without thinking about it is the implicit coercion from integer types to floating point types.
  Reply With Quote