Tagged articles
function arguments
10 articles · Page 1 of 1

21CTOAug 27, 2026 · Backend Development
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

This article walks through a Python function‑argument issue, explains how default parameters work, shows the code breakdown with visual diagrams, and demonstrates how to use Python Tutor to visualize execution, helping readers solve similar problems and deepen their understanding of Python functions.
DebuggingPythonPython Tutor
0 likes · 3 min read

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

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

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

Python uses a pass‑by‑object‑reference model, meaning functions receive references to objects; this article explains how mutable and immutable objects behave under this model, describes positional, keyword, default, *args and **kwargs argument types, and provides code examples illustrating each case.
Immutable ObjectsPass by Referenceargs
0 likes · 4 min read

This guide explains Python's dictionary unpacking using the ** operator, showing how it streamlines passing keyword arguments to functions and formatting strings, while covering basic examples, practical advantages, and important precautions to avoid common errors.
Code TutorialDictionary UnpackingPython
0 likes · 5 min read

This article explains the concepts and usage of *args and **kwargs in Python functions, provides code examples, and demonstrates how they can be leveraged for flexible parameter handling, request automation, dynamic test data generation, and robust assertions in API testing scenarios.
API automationPythonargs
0 likes · 6 min read

This article explains how Python handles function arguments and default parameters, demonstrates the behavior with a simple code example, and shows how to visualize the execution flow using an online tool, helping readers understand why bar(3+2) yields the expected result.
Code ExampleDefault Parametersfunction arguments
0 likes · 4 min read

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
