DEV Community

Play Button Pause Button
Harit Himanshu
Harit Himanshu

Posted on

What is Immutability?

Immutability seems like an advanced topic, but it really isn't.

You may have heard about immutability in context to Functional Programming. However, you can take this idea and apply to any programming language.

Watch this video to learn from a day-to-day example.

The code in the end is written in Scala, but you can easily code this in JavaScript, Python, Ruby, Java or any other language.

Please let me know if you have any questions. I would be happy to give the examples in other languages if you folks need!

Keep learning and Keep sharing!

Top comments (0)