Tagged articles
13 articles
Page 1 of 1
php Courses
php Courses
Jul 18, 2025 · Fundamentals

Master C++ Functions: Definitions, Calls, Parameters, and Scope Explained

This article provides a comprehensive guide to C++ functions, covering their definition syntax, various calling methods, parameter passing mechanisms, return value handling, and variable scope rules, supplemented with clear code examples and practical demonstrations.

CParameter PassingReturn values
0 likes · 6 min read
Master C++ Functions: Definitions, Calls, Parameters, and Scope Explained
Code Mala Tang
Code Mala Tang
Mar 9, 2025 · Fundamentals

What Really Happens Inside Python When You Call a Function?

This article explains step by step how Python creates a function object, builds a call stack, handles parameters, executes the body, performs garbage collection, and manages recursion, illustrating each stage with clear code examples and diagrams.

Garbage CollectionParameter PassingPython
0 likes · 8 min read
What Really Happens Inside Python When You Call a Function?
Tencent Cloud Developer
Tencent Cloud Developer
Jun 8, 2022 · Backend Development

Understanding Go Map and Slice Concurrency Safety and Parameter Passing

The article explains that Go maps and slices are not safe for concurrent reads or writes, describes how the runtime detects map violations, and recommends using sync.Mutex, sync.RWMutex, or sync.Map for maps and external synchronization for slices, while also clarifying that passing these reference types to functions shares underlying data unless explicitly copied.

GoMAPParameter Passing
0 likes · 12 min read
Understanding Go Map and Slice Concurrency Safety and Parameter Passing
FunTester
FunTester
Apr 29, 2021 · Backend Development

How to Pass Multiple Parameters to Groovy’s invokeMethod for Performance Testing

This article explains how to work around Groovy's invokeMethod limitation of accepting only a single Object argument by using String arrays or var‑args, demonstrates Java and Groovy reflection implementations, and provides complete code examples for multi‑parameter performance test scripts.

GroovyJavaMethod Invocation
0 likes · 8 min read
How to Pass Multiple Parameters to Groovy’s invokeMethod for Performance Testing
IT Xianyu
IT Xianyu
Nov 3, 2020 · Fundamentals

Value vs Reference Passing in Java: Concepts, Stack vs Heap, and Code Examples

This article explains the difference between value passing and reference passing in Java, clarifies how primitive and object types are stored in stack and heap, and demonstrates the behavior with concrete code examples showing how modifications affect (or do not affect) the original arguments.

HeapJavaParameter Passing
0 likes · 6 min read
Value vs Reference Passing in Java: Concepts, Stack vs Heap, and Code Examples
Java Backend Technology
Java Backend Technology
Dec 15, 2019 · Fundamentals

Is Java Pass‑by‑Value or Pass‑by‑Reference? The Definitive Explanation

This article clarifies the long‑standing confusion about whether Java uses pass‑by‑value or pass‑by‑reference by defining both concepts, explaining the roles of actual and formal parameters, illustrating with primitive and object examples, and showing why Java is technically pass‑by‑value even for reference types.

JavaParameter PassingReference Types
0 likes · 8 min read
Is Java Pass‑by‑Value or Pass‑by‑Reference? The Definitive Explanation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 5, 2019 · Fundamentals

Understanding Java: Pass‑by‑Value vs Pass‑by‑Reference Explained

This article clarifies the long‑standing confusion about whether Java uses pass‑by‑value or pass‑by‑reference by defining the concepts, distinguishing actual and formal parameters, and demonstrating with primitive and object examples that Java always passes arguments by value, using the reference as the value for objects.

Code ExamplesJavaParameter Passing
0 likes · 8 min read
Understanding Java: Pass‑by‑Value vs Pass‑by‑Reference Explained
Test Development Learning Exchange
Test Development Learning Exchange
Jul 30, 2018 · Fundamentals

Understanding Python's id() Function and Parameter Passing Mechanics

This article explains Python's id() function, how objects and references work, and demonstrates parameter passing behavior with detailed code examples illustrating memory address handling for immutable and mutable types, including lists, integers, and strings, and clarifies why variable assignments may share the same address.

ImmutableMutableObjects
0 likes · 8 min read
Understanding Python's id() Function and Parameter Passing Mechanics