Russell’s types aren’t really the same notion as types in programming: https://planetmath.org/russellstheoryoftypes