DEV Community

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

Collapse
 
mcsee profile image
Maxi Contieri

Amazing Article!

Immutability is the only way we can guarantee code stands time.

I'll give you some pointers to follow:

maximilianocontieri.com/the-evil-p...

and NULLs that should be avoided as you clarified

maximilianocontieri.com/null-the-b...

and this article you point out is also excellent

doc.rust-lang.org/book/ch03-01-var...

We should push for MORE immutability on our objects

Collapse
 
dglsparsons profile image
Douglas Parsons

Thanks for the useful links, and glad you agree :).