Rushabh PatilforRushabh Patilrushabhpatil.hashnode.dev·Feb 16, 2024Inner Workings of Python, Part-IIIntroduction This is the second part of a blog series where I explain the inner workings of Python. To get started, let's look at an example. This article is inspired by x = ["fruit"] y = ["fruit"] z = x x is z # True x is y # False x == y # True...Discuss·2 likes·56 readsPython
Adegoke Ayobami Seunayobamiseun.hashnode.dev·Oct 10, 2021Simplify Immutable Data Structures in JavaScript with Immer.jsIntroduction It can be difficult to maintain immutability with JavaScript, especially when working with intricate data structures. However, leveraging immutable data structures can simplify code complexity and enhance performance by preventing uninte...Discuss·91 readsReact
Siddharth Rairaisid369.hashnode.dev·Oct 9, 2022Mutable and Immutable objects in Python. Let's discuss it!Mutable Object: An object that can be modified or changed after being created is a mutable object. E.g. Variable with data type as a list, set, dictionary etc. The below code is a simple example of how mutable objects work. Let's say 'v' is a list-ty...Discuss·124 readsmutable