TypeScript

JavaScript arrays are a famous source of trouble. E.g. when you access index out of bounds, you don’t get an exception, you get undefined. This, by the way, breaks type […]

Typescript allows a type to reference another type defined further down in the same file, which can lead to rather interesting constructs. The vanilla circular reference fails: However, the following […]