What's the difference between
and
Enter two words to compare and contrast their definitions, origins, and synonyms to better understand how those words are related.

const

Const vs Cons - What's the difference?

const | cons |


As nouns the difference between const and cons

is that const is (label) a whose value cannot be changed directly while cons is or cons can be (computing) a data structure in lisp that is a pair of pointers, car and cdr, used mainly for lists.

As an adjective const

is whose value cannot be changed directly.

As a verb cons is

(computing) to obtain a list from a cons or a nesting of conses; to prepend an element to a list by forming a cons of that element and the list; to obtain a list from a smaller one by repeated application of such kind of prepending or cons can be (con).

Cost vs Const - What's the difference?

cost | const |


As nouns the difference between cost and const

is that cost is manner; way; means; available course; contrivance or cost can be amount of money, time, etc that is required or used or cost can be (obsolete) a rib; a side while const is (label) a whose value cannot be changed directly.

As a verb cost

is to incur a charge; to require payment of a price.

As an adjective const is

whose value cannot be changed directly.

Pages