Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Dynamic typing

Name: Anonymous 2016-12-09 22:15

...is just one type you have no control over.

Name: Anonymous 2016-12-24 18:21

>>26
Even in scripting languages, variables have a type and that type is Any. The objects on the heap, however, do not have a type. Types are something at the language level, not at the machine representation level. What heap objects have are runtime classification tags, much like the A, B, C etc in the following:

data Any = A Int | B String | C (Array Int) | ...

A, B and C are obviously not different types, they are tags (language-level as well as runtime-level) that distinguish values of a single type.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List