Tagged articles

function arguments

10 articles · Page 1 of 1
21CTO
21CTO
Aug 27, 2026 · Backend Development

What PHP 8.6 Brings: Simplified Function Calls Illustrated

The article previews PHP 8.6’s upcoming function‑argument placeholder feature and shows how it can replace a multi‑step pipeline of arrow functions with a concise slug‑generation snippet, making the code shorter and clearer.

BackendPHPPHP 8.6
0 likes · 2 min read
What PHP 8.6 Brings: Simplified Function Calls Illustrated
Test Development Learning Exchange
Test Development Learning Exchange
Jun 23, 2025 · Fundamentals

Master Python Function Arguments: Positional, Keyword, Default, *args, **kwargs

This guide walks through ten Python function‑argument examples—including positional, keyword, default values, mutable‑default pitfalls, variable‑length *args and **kwargs, argument unpacking, ordering rules, and mutable‑object handling—providing clear code snippets and explanations for each case.

Pythonargs-kwargsargument-unpacking
0 likes · 7 min read
Master Python Function Arguments: Positional, Keyword, Default, *args, **kwargs
JavaScript
JavaScript
May 3, 2025 · Frontend Development

Why Google Engineers Avoid JavaScript Default Parameters (And What to Use Instead)

This article explains the subtle bugs, predictability issues, scope interactions, and readability concerns that can arise from JavaScript default parameters, and presents explicit argument handling and object destructuring as safer alternatives for large‑scale development.

Best PracticesDefault ParametersJavaScript
0 likes · 3 min read
Why Google Engineers Avoid JavaScript Default Parameters (And What to Use Instead)
Code Mala Tang
Code Mala Tang
Apr 23, 2025 · Fundamentals

Why Everything Is an Object in Python: Understanding Mutable vs Immutable

This article explains Python’s core principle that every value is an object, detailing how identity, type, and value define objects, and contrasts mutable and immutable types through practical code examples, illustrating their impact on memory management, variable assignment, function arguments, and common pitfalls.

ObjectsPythonfunction arguments
0 likes · 11 min read
Why Everything Is an Object in Python: Understanding Mutable vs Immutable
Python Programming Learning Circle
Python Programming Learning Circle
Apr 20, 2021 · Fundamentals

Understanding Different Types of Arguments in Python Function Definitions

This article explains Python function definitions, covering required, default, keyword, positional, variable-length (*args, **kwargs), and positional-only/keyword-only parameters, illustrating each type with syntax, usage rules, and example code snippets, and common pitfalls such as mutable default values and argument ordering errors.

Pythondefaultsfunction arguments
0 likes · 9 min read
Understanding Different Types of Arguments in Python Function Definitions