and Muthu's argument made me really confused. until I found a valid argument on some paper that the word 'untyped' refers to the languages that deals with bits directly. the second definition of untyped means "having only one type" and I guess this is what they were talking about. Brendan Eich referred Academic types as "No Static Types". Although as he says, the context is very important. Let me give an example I read on SO:
the result of 10 / 'hello' in untyped languages should be a integer as the processing took place on the bits directly. however in js it'd be NaN. This show one 'type' is being converted (coerced?) to another 'type'. Same as 1+'a' will result into 1a as output.
Lovely, I glanced at a few things and was also confused
One type only and only dealing with bits is the same definition though
Обсуждают сегодня