---
title: "Discussion on \"Memory management - Deep and Shallow Copying\" | Hashnode"
description: "Discussion on \"Memory management - Deep and Shallow Copying\". Let's go back one moment. A little further down to our data structures. The dear heaps and stacks of them.\n\nWhat happens when I assign a variable?\nWhat about when I pass it as a parameter?\nHow does the program know this is what I'm talking about?\n\nBe..."
url: "https://hashnode.com/posts/memory-management-deep-and-shallow-copying/5f414e987d6e4770b16f8eaf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Memory management - Deep and Shallow Copying](https://thegreencodes.com/memory-management-deep-and-shallow-copying?utm_source=hashnode&utm_medium=feed)

Let's go back one moment. A little further down to our data structures. The dear heaps and stacks of them. What happens when I assign a variable? What about when I pass it as a parameter? How does the program know this is what I'm talking about? Be...

Aug 22, 2020 · 4 min read · thegreencodes.com  
Updated Aug 28, 2023  
Read the article

-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#memory-management](https://hashnode.com/tag/memory-management)

## Written by

[Marvin Kweyu](https://hashnode.com/@Marvin)

@Marvin · Earth

  
[View profile](https://hashnode.com/@Marvin)

Senior Backend Engineer | Distributed Systems & Platform Engineering

Senior Backend Engineer | Distributed Systems &amp; Platform Engineering

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
