Everything about Const
Type qualifier denoting the data as being read-only
In some programming languages, const is a type qualifier that indicates that the data is read-only. While this can be used to declare constants, const in the C family of languages differs from similar constructs in other languages in that it is part of the type, and thus has complicated behavior when combined with pointers, references, composite data types, and type-checking. In other languages, the data is not in a single memory location, but copied at compile time for each use. Languages which use it include C, C++, D, JavaScript, Julia, and Rust. Wikipedia →
🧭 Start here: a 6-step reading path
- Read the overview: ConstA 5-minute orientation
- Skim a recent paper: Efficacy and Safety of Elobixibat in Parkinson's Disease with Chronic Constipation: CONST‐PD StudyInfluential work since 2022
- Pick up a classic book: Aurea bulla Karoli 4 Rom. imperatoris ...The most-reprinted book on the subject
- Read the landmark paper: Evidence supporting the approximation γρ = const for the Grüneisen parameter of the Earth's lower mantleCited 108 times
- Go sideways: Immutable objectA closely related topic
- Go sideways: Constant (computer programming)A closely related topic
📖 Definitions
Noun A variable whose value cannot be changed directly.
Adjective Whose value cannot be changed directly.
Adjective Which cannot change the value of its class’s attributes.
🏆 Landmark papers (most cited)
Evidence supporting the approximation γρ = const for the Grüneisen parameter of the Earth's lower mantle
The complex exponent of a singularity does not change along strataµ = const
Dynamical dark energy vs. Λ = const in light of observations
Education Law. School Funding. Michigan Moves toward Statewide Collection and Distribution of Education Funds. Mich. Const. art. IX, Section 11; Mich. Comp. Laws Ann. Section 388.1620 (West Supp. 1994)
Utilization of “q+/q−= const.” DSC cycles for physical aging studies
Stoma‐related complications: a report from the Stoma‐Const randomized controlled trial
Stationary axisymmetric perfect-fluid metrics with q+3p=const
Municipal Corporations: Debt Limitations: Cal. Const. Art. XI, § 18: Contingent Liability
🆕 Influential since 2022
Efficacy and Safety of Elobixibat in Parkinson's Disease with Chronic Constipation: CONST‐PD Study
CoNST: Code Generator for Sparse Tensor Networks
Investigating the efficacy and safety of elobixibat, an ileal bile acid transporter inhibitor, in patients with Parkinson’s disease with chronic constipation: a multicentre, placebo-controlled, randomised, double-blind, parallel-group study (CONST-PD)
RETRACTED: Analysis of the parameters of technological material sprinkling devices of special road vehicles (ꞷδ=const): MAN CLA 18.280 4x2 BB CS45
Operators with spectral density increasing as Ω ( E ) ∼ e Const . E 2
📚 Books worth reading
- 📕Aurea bulla Karoli 4 Rom. imperatoris ...Heinrich Günther von Thülemeyer · 1706
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
🔗 Related topics
- Immutable object In object-oriented (OO) and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is created…
- Constant (computer programming) In computer programming, a constant is a value that is not altered by the program during normal execution. When associated with an identifier, a constant…
- Type qualifier In the context of programming languages, a type qualifier is a keyword that can be used to annotate a type to instruct the compiler to treat the now qualified…
- Typedef typedef is a reserved keyword in the programming languages C, C++, and Objective-C. It is used to create an additional name (alias) for another data type…
- Final (Java) In the Java programming language, the final keyword is used in several contexts to define an entity that can only be assigned once. Once a final variable…
- C syntax C syntax is the form that text must have in order to be C programming language code. The language syntax rules are designed to allow for code that is terse…
- C++ classes A class in C++ is a user-defined type or data structure declared with any of the keywords class, struct or union (the first two are collectively referred…
- Pointer (computer programming) I do consider assignment statements and pointer variables to be among computer science's "most valuable treasures." — Donald Knuth, Structured Programming…