DEV Community

Discussion on: How to write IMMUTABLE code and never get stuck debugging again

Collapse
 
dglsparsons profile image
Douglas Parsons

Hi Vikram, I'm glad you enjoyed the article and it's fantastic that you are intrigued!

For specific resources - I sadly don't have any off the top of my head. Personally, I feel like it's a change in approach to writing code as much as anything else.

For Javascript and Python, I'd definitely have a look into the spread operators though (for objects / dicts), and spreading in arrays for javascript.