Tag

value passing

0 views collected around this technical thread.

Go Programming World
Go Programming World
Dec 10, 2024 · Backend Development

Deep Dive into Go's Context Package: Design, Implementation, and Usage

This article thoroughly explains the design and implementation of Go's context package, covering its core interfaces, various concrete types, cancellation propagation, deadline handling, value storage, and the internal mechanisms that enable concurrent-safe control flow and data passing across context trees.

CancellationConcurrencyGo
0 likes · 30 min read
Deep Dive into Go's Context Package: Design, Implementation, and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Apr 20, 2021 · Fundamentals

Understanding Python Function Parameter Passing: Value vs. Reference

This article explains how Python implements function argument passing, distinguishing value passing—where a copy of the argument is used—from reference passing for mutable objects, illustrating both mechanisms with swap examples, memory diagrams, and concluding with best practices for modifying data inside functions.

function parametersmutable-objectsreference passing
0 likes · 10 min read
Understanding Python Function Parameter Passing: Value vs. Reference