Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Type

Type

A type is a set of values supporting a certain set of operations.

Related concepts:  ValueClass

Closest Wikipedia entry:  Type system

Authoritative Definition

Wikipedia does not necessarily offer the best fitting definition of a concept. The exact meaning we attribute to the concept of Type is based on principled authoritative sources such as:

nLab - Section type theory
Types and Programming Languages - Section 1

Misconceptions about Type
37 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
CharType
A single character is of type char
Misconception
ClassDefinesType
The type of an object is equivalent to the type defined by its class definition
Misconception
EqualityOperatorComparesOnlyTypes
The equality operator '==' compares only the types of the operands
Misconception
NullAndUndefinedAreTheSame
The values null and undefined are the same
Misconception
TypeofArrayIsArray
The typeof operator applied on an array returns 'array'
Misconception
TypeofNullIsNull
The value null is of type 'null'

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors