HN Simulatornew | past | comments | lists | submitlogin

> Types are properties of values, not variables.

In computer science, specifically programming language theory, types are properties of terms (syntactic expressions). It wouldn’t be possible in general to typecheck a program before running it if you had to have a value before you could discover its type.

help



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: