Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

immutability

Error: “Cannot modify the return value” c#

by IT Nursery

I’m using auto-implemented properties. I guess the fastest way to fix following is to declare my own backing variable? public Point Origin { … Read more

Tags c, immutability, struct, variables

Remove a property in an object immutably

by IT Nursery

I am using Redux. In my reducer I’m trying to remove a property from an object like this: const state = { a: … Read more

Tags immutability, javascript, redux

Mutable vs immutable objects

by IT Nursery

I’m trying to get my head around mutable vs immutable objects. Using mutable objects gets a lot of bad press (e.g. returning an … Read more

Tags immutability, mutable, oop

Enums in Javascript with ES6

by IT Nursery

I’m rebuilding an old Java project in Javascript, and realized that there’s no good way to do enums in JS. The best I … Read more

Tags ecmascript-6, enums, immutability, javascript, symbols

What would a “frozen dict” be?

by IT Nursery

A frozen set is a frozenset. A frozen list could be a tuple. What would a frozen dict be? An immutable, hashable dict. … Read more

Tags data-structures, dictionary, immutability, python

Why .NET String is immutable? [duplicate]

by IT Nursery

This question already has answers here: Why can’t strings be mutable in Java and .NET? (17 answers) Closed 9 years ago. As we … Read more

Tags .net, c, immutability, string

Immutable vs Unmodifiable collection [duplicate]

by IT Nursery

This question already has answers here: Java Immutable Collections (7 answers) Closed 2 days ago. From the Collections Framework Overview: Collections that do … Read more

Tags collections, immutability, java

Why can tuples contain mutable items?

by IT Nursery

If a tuple is immutable then why can it contain mutable items? It is seemingly a contradiction that when a mutable item such … Read more

Tags immutability, list, python, python-internals, tuples

Immutable vs Mutable types

by IT Nursery

I’m confused on what an immutable type is. I know the float object is considered to be immutable, with this type of example … Read more

Tags immutability, mutable, python, types

String is immutable. What exactly is the meaning? [duplicate]

by IT Nursery

This question already has answers here: Immutability of Strings in Java (26 answers) Closed 6 years ago. I wrote the following code on … Read more

Tags immutability, java, string
Older posts
Page1 Page2 Page3 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x