Everything About ___
Live briefing

Everything about Class invariant

Unchanging property for all objects of a class

In computer programming, specifically object-oriented programming, a class invariant is an invariant used for constraining objects of a class. Methods of the class should preserve the invariant. The class invariant constrains the state stored in the object. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Class invariantA 5-minute orientation
  2. Skim a recent paper: Rotation-Invariant Attention Network for Hyperspectral Image ClassificationInfluential work since 2022
  3. Pick up a classic book: Hilbert modular surfacesThe most-reprinted book on the subject
  4. Read the landmark paper: Multiresolution gray-scale and rotation invariant texture classification with local binary patternsCited 13,044 times
  5. Go sideways: Gradual typingA closely related topic
  6. Go sideways: Whiley (programming language)A closely related topic

📖 Definitions

Noun An invariant used to constrain objects of a class that is preserved by class methods and that constrains the state stored in the object.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics