Tag

introspection

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Apr 29, 2025 · Fundamentals

Unlock Python’s Hidden Power: Mastering the __dict__ Attribute

Explore how Python’s built-in __dict__ attribute stores object attributes, enabling introspection, dynamic attribute manipulation, memoization, JSON serialization, custom descriptors, and debugging, while also learning its limitations with slots and built-in types for performance.

PythonSerialization__dict__
0 likes · 8 min read
Unlock Python’s Hidden Power: Mastering the __dict__ Attribute
Test Development Learning Exchange
Test Development Learning Exchange
Jan 6, 2025 · Fundamentals

Python Introspection: Exploring Object Structure and Dynamic Programming

Python introspection allows programs to examine their own structure at runtime, enabling dynamic manipulation of objects, classes, and methods through built-in functions and modules.

MetaclassesPythonattribute-access
0 likes · 5 min read
Python Introspection: Exploring Object Structure and Dynamic Programming
Test Development Learning Exchange
Test Development Learning Exchange
Jul 20, 2024 · Fundamentals

Python Reflection and Metaprogramming: Concepts and Practical Examples

This article explains Python's reflection and metaprogramming features, demonstrating how to inspect objects, dynamically invoke methods, create classes, use metaclasses, decorators, exec, inspect signatures, and other advanced techniques through ten clear code examples.

DynamicPythonintrospection
0 likes · 6 min read
Python Reflection and Metaprogramming: Concepts and Practical Examples
php中文网 Courses
php中文网 Courses
Oct 17, 2023 · Backend Development

Understanding PHP Reflection: Classes, Methods, Properties, and Annotations

This article explains PHP's reflection capabilities, detailing how developers can inspect classes, interfaces, methods, and properties at runtime, and demonstrates practical uses such as dynamic object creation, method invocation, property manipulation, and annotation parsing with code examples.

Backend DevelopmentDynamic InstantiationPHP
0 likes · 5 min read
Understanding PHP Reflection: Classes, Methods, Properties, and Annotations
Test Development Learning Exchange
Test Development Learning Exchange
Sep 19, 2023 · Fundamentals

Python Reflection and Dynamic Attributes: 10 Practical Scenarios

This article explains Python's reflection mechanism and dynamic attributes, presenting ten practical code examples that demonstrate how to inspect, modify, create, and delete object properties and methods at runtime for more flexible and reusable programs.

Pythondynamic attributesintrospection
0 likes · 5 min read
Python Reflection and Dynamic Attributes: 10 Practical Scenarios
Selected Java Interview Questions
Selected Java Interview Questions
Sep 15, 2020 · Fundamentals

Understanding Java Reflection: Concepts, Uses, and Performance

This article explains Java reflection, describing its ability to inspect and modify classes at runtime, the core reflection classes, practical use cases, performance considerations, and provides comprehensive code examples that demonstrate class, method, field, and interface introspection.

AndroidJavaPerformance
0 likes · 15 min read
Understanding Java Reflection: Concepts, Uses, and Performance
Python Programming Learning Circle
Python Programming Learning Circle
Sep 12, 2019 · Fundamentals

8 Must‑Know Python Features Every Job Seeker Should Master

This article compiles eight representative Python language‑feature questions—covering iterators, generators, decorators, monkey‑patching, identity vs equality, shallow/deep copying, mutability, introspection, and naming conventions—to help candidates ace technical interviews and deepen their core Python knowledge.

CopyInterviewIterators
0 likes · 10 min read
8 Must‑Know Python Features Every Job Seeker Should Master
Test Development Learning Exchange
Test Development Learning Exchange
Jul 23, 2018 · Fundamentals

Understanding Python's dir() Function: Syntax, Parameters, and Practical Examples

This article explains Python's built‑in dir() function, covering its syntax, optional object argument, returned attribute list, and demonstrates multiple usage scenarios—including inspecting modules, classes, objects, and functions—through detailed code examples and output illustrations.

Pythonbuiltindir
0 likes · 8 min read
Understanding Python's dir() Function: Syntax, Parameters, and Practical Examples