Misconceptions

These are the misconceptions we collected so far in:

Misconception Count Does Not Imply Language Difficulty

There is no connection between the number of misconceptions listed here and the difficulty of the corresponding programming language. The effort we spent on collecting misconceptions is very different for different languages. It would be inappropriate to reason about the quality of languages based on the number of misconceptions in this collection.

AssignmentCopiesObject
JavaScript
AssignmentCopiesObject
Assignment copies the object
ClassDefinesType
JavaScript
ClassDefinesType
The type of an object is equivalent to the type defined by its class definition
ConstReferenceImpliesImmutability
JavaScript
ConstReferenceImpliesImmutability
An object referred to by a const variable is an immutable object
NoAtomicExpression
JavaScript
NoAtomicExpression
Expressions must consist of more than one piece
NullIsObject
JavaScript
NullIsObject
null is an object
ThisAssignable
JavaScript
ThisAssignable
One can assign to this

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.