Immutability in C#.

Λεπτομέρειες βιβλιογραφικής εγγραφής
Τίτλος: Immutability in C#.
Συγγραφείς: Petersen, John V. johnvpetersen@gmail.com
Πηγή: CODE Magazine. May/Jun2019, p28-33. 6p.
Θεματικοί όροι: *Application software, *Threads (Computer programs), *Computer architecture, *Computer software, *Functional programming languages, *Haskell (Computer program language)
Περίληψη: The article discusses that if an application takes advantage of multi-threading, immutability should be a fundamental part of the architecture because immutable objects are inherently thread safe and are immune from race-conditions. Topics include a DTO (Data Transport Object) is classic case where immutability is a desired feature, and immutable types are a core part of functional programming languages like Haskell, and Erlang.
Βάση Δεδομένων: Academic Search Index