I am looking at how Java types are stored vs. Ruby types. I know that Java is a strongly typed language, where you have to explicitly state a type for each value. Ruby, on the other hand (to my knowledge), is implemented at its foundation in C, and to contrast, is dynamically typed, so you don't have to declare a type, the interpreter figures it out for you. This difference is important because Java is prone to type confusion, which can be bad. However, because Ruby's values are dynamic, does that make it "invincible" to these type confusions?
If you don't know about type confusion in Java, here is a really brief and helpful article: http://www.securingj...ter-five-7.html
This post has been edited by Static Hazard: 07 November 2012 - 09:08 PM