In object-oriented (OO) and functional programming, an immutable object (unchangeable object) is an object whose state cannot be modified after it is...
33 KB (3,818 words) - 18:55, 2 August 2025
remain equal. It is also useful for value objects to be immutable, as client code cannot put the value object in an invalid state or introduce buggy behaviour...
9 KB (949 words) - 09:54, 29 July 2025
OOP objects. Function object: Class with one main method that acts like an anonymous function (in C++, the function operator, operator()) Immutable object:...
55 KB (5,890 words) - 05:11, 29 July 2025
A properly written constructor leaves the resulting object in a valid state. Immutable objects must be initialized in a constructor. Most languages allow...
35 KB (4,271 words) - 04:13, 29 May 2025
Domain-driven design (redirect from Domain object)
every flight: this is the seat's identity. In contrast, a value object is an immutable object that contains attributes but has no conceptual identity. When...
20 KB (2,581 words) - 09:56, 29 July 2025
In object-oriented programming, "immutable interface" is a pattern for designing an immutable object. The immutable interface pattern involves defining...
4 KB (457 words) - 14:00, 1 January 2024
Constant (computer programming) (redirect from Object-oriented constants)
(statically valued) constants, run-time (dynamically valued) constants, immutable objects, and constant types (const). Typical examples of compile-time constants...
20 KB (2,685 words) - 02:31, 24 September 2024
Generic programming God object Heap-based memory allocation Helper class Hybrid language Immutable object (also called immutable value) Information hiding...
6 KB (438 words) - 06:43, 5 April 2025
const, D const and immutable are "deep" or transitive, and anything reachable through a const or immutable object is const or immutable respectively. Example...
45 KB (5,602 words) - 09:49, 29 July 2025
early incarnations of object storage were used for archiving, as implementations were optimized for data services like immutability, not performance. EMC...
37 KB (4,063 words) - 08:26, 22 July 2025
Passing such immutable objects between variables have no observable differences if the object is copied or passed by reference, unless the object identity...
11 KB (1,291 words) - 09:25, 2 July 2025
an object that only its value counts, not its identity. Immutable objects have value semantics trivially, and in the presence of mutation, an object with...
3 KB (346 words) - 13:26, 21 July 2025
(strongly) immutable. This restriction ensures the data structure possesses the advantages of immutable objects: (full) persistency, quick copy of objects, and...
11 KB (1,392 words) - 19:47, 2 April 2024
Decorator pattern (section Usage in Flyweight objects)
pattern Abstract class Abstract factory Aspect-oriented programming Immutable object Gamma, Erich; et al. (1995). Design Patterns. Reading, MA: Addison-Wesley...
38 KB (4,167 words) - 12:16, 20 March 2025
construct trees of immutable objects. Once constructed, these objects are guaranteed not to change anymore. To achieve this, an immutable class must only...
17 KB (2,117 words) - 17:16, 7 July 2025
them might be executed simultaneously by another thread. Immutable objects The state of an object cannot be changed after construction. This implies both...
10 KB (1,169 words) - 16:59, 10 April 2025
Scala (programming language) (category Object-oriented programming languages)
vals are only shallowly immutable, that is, an object referenced by a val is not guaranteed to itself be immutable. Immutable classes are encouraged by...
109 KB (10,214 words) - 09:52, 29 July 2025
Evaluation strategy (redirect from Call by object)
is call by value. For immutable objects, there is no real difference between call by sharing and call by value, except if object identity is visible in...
46 KB (5,225 words) - 20:45, 6 June 2025
an object database that stores immutable objects. The index serves as a connection point between the object database and the working tree. The object store...
72 KB (7,337 words) - 08:51, 22 July 2025
Liskov substitution principle (category Object-oriented programming)
of an immutable point, whereas Liskov substitution principle forbids this. Liskov substitution principle explains a property, "If for each object o1 of...
14 KB (1,561 words) - 00:45, 6 June 2025
assignment. Assignment operator (C++) Unification (computer science) Immutable object Assignment problem Use of = predates Fortran, though it was popularized...
33 KB (3,367 words) - 09:10, 30 May 2025
Nathan. "ADT". NPM. Joyent, nodejitsu. Retrieved 26 November 2013. Immutable object#JavaScript "Javascript Data structures". Mozilla Developer Network...
22 KB (820 words) - 14:29, 25 May 2025
of storing only one copy of each distinct string value, which must be immutable. Interning strings makes some string processing tasks more time-efficient...
8 KB (913 words) - 09:49, 29 July 2025
boredom it produces", and later states that "only an infinite and immutable object—that is, God himself—can fill this infinite abyss." Without stimulus...
36 KB (3,997 words) - 13:10, 22 June 2025
retrieving extrinsic objects with immutable state one must simply search the cache for an object with the state one desires. If no such object is found, one...
14 KB (1,601 words) - 05:11, 30 June 2025
as the state, which is an immutable object in Java. In real-life scenarios the state will almost always be a mutable object, in which case a copy of the...
12 KB (1,317 words) - 11:15, 30 August 2024
data protection and disaster recovery capabilities derived from its Immutable object architecture. Panzura licenses software as a service data management...
12 KB (1,033 words) - 11:30, 31 July 2025
Reference counting (section Component Object Model)
runtime optimizations. For example, systems that depend heavily on immutable objects such as many functional programming languages can suffer an efficiency...
36 KB (4,785 words) - 18:11, 27 July 2025
name As String End Class Property (programming) Indexer (programming) Immutable object Stephen Fuqua (2009). "Automatic Properties in C# 3.0". Archived from...
24 KB (2,756 words) - 01:02, 6 October 2024
a character, in both languages. Both languages treat strings as (immutable) objects of reference type. In both languages, the type contains several methods...
152 KB (13,904 words) - 09:47, 29 July 2025