Prefer immutability What: Make data read-only after construction. Instead of editing objects, create new ones. Why: If nothing changes, many threads can read safely with no locks. How (.NET): public r
Markdown supported · ⌘↵ to post
No responses yet.