Tagged articles
Property
20 articles · Page 1 of 1
This article breaks down Palantir Ontology's core components—Object Types, Properties, Link Types, and Action Types—using a high-risk order example, contrasts it with knowledge graphs, details how Agents leverage it for decision-making, and recommends starting with a minimum viable ontology for practical adoption.
Action TypeFoundryLink Type
0 likes · 18 min read

This guide explores Python class fundamentals, covering inheritance versus composition, the use of super(), distinctions among instance, class, and static methods, dataclasses, the __dict__ attribute, name mangling, @property, dynamic class creation with type(), and __slots__ for attribute control.
ClassesCompositionInheritance
0 likes · 9 min read

This article explains Python encapsulation fundamentals—including classes, objects, attributes, methods, naming conventions for protected and private members, and practical getter/setter patterns—through clear code examples that demonstrate safe data handling and object-oriented design.
ClassesEncapsulationGetter/Setter
0 likes · 7 min read

This article explains Python's property access protocols and descriptor mechanisms, demonstrating how to customize attribute behavior using special methods like __getattribute__ and __getattr__.
DescriptorOOPProperty
0 likes · 5 min read

This article presents ten useful Python metaprogramming examples that demonstrate dynamic attribute access, setting, descriptor‑based validation, runtime attribute creation and deletion, computed properties, dynamic class and method generation, and metaclass techniques for flexible program behavior.
Propertycode-examplesdynamic attributes
0 likes · 6 min read

Learn how Python’s @property decorator transforms methods into read‑only attributes, enabling attribute‑style access, preventing unintended modifications, and illustrating proper usage with code examples that show correct and incorrect calls, common pitfalls, and best practices for encapsulating data.
DecoratorEncapsulationProperty
0 likes · 4 min read

This article explains the concept of lazy initialization in Python, reviews the @property decorator, and provides two complete implementations—a descriptor class and a decorator function—to create lazy properties that compute a value only once and then cache it for subsequent accesses.
DescriptorPropertyPython
0 likes · 5 min read

The article dissects the Ponder C++ reflection library’s Property subsystem, explaining how registration via ClassBuilder creates property entries, how traits and ValueBinders map members to abstract Property objects, and how runtime Get/Set calls traverse templated binders to provide type‑safe, high‑performance access.
C++PropertyRuntime
0 likes · 16 min read

This article explains what Python descriptors are, why they help follow the Single Responsibility Principle, and demonstrates how to replace repetitive property setters with reusable descriptor classes such as a fuel‑capacity validator and a generic range‑checking descriptor.
PropertySingle Responsibility Principledescriptors
0 likes · 4 min read

This article explains how Python stores object attributes in layered __dict__ structures, distinguishes class and instance attributes, demonstrates attribute lookup, shows how to modify attributes directly or via property, and introduces dynamic attribute creation using __getattr__ and related special methods.
PropertyPythonattributes
0 likes · 8 min read

This article explains Python's __dict__ attribute storage, class and instance attributes, demonstrates how to inspect and modify them, introduces properties using the built‑in property() function, and shows dynamic attribute generation with __getattr__, providing clear code examples and explanations.
Propertyattributesdict
0 likes · 9 min read

This article explains Python's property decorator and descriptor protocol, showing how to turn methods into managed attributes, perform validation, compute derived values, and illustrates their implementation with clear code examples including a Student class, a custom descriptor, and a classmethod reimplementation.
Code ExampleDescriptorOOP
0 likes · 8 min read


ByteFEMay 11, 2021 · Frontend Development
This article introduces the CSS @property at‑rule, explains how it extends the Houdini API to define typed custom properties with defaults and inheritance, and demonstrates a series of practical animations—including gradient transitions, conic‑gradient pie charts, length‑based underline effects, and a full‑screen saver—by rewriting traditional CSS with @property definitions and showcasing the required code snippets.
CSSHoudiniProperty
0 likes · 13 min read

This article explains Python's advanced class features—including static methods, class methods, property decorators, special dunder methods, reflection utilities, dynamic attribute manipulation, metaclass creation, and exception handling—illustrated with clear code examples and practical usage tips.
Exception HandlingPropertyReflection
0 likes · 14 min read

This article explains how Python’s @property decorator transforms class methods into attribute-like accessors, covering basic usage, setter/getter patterns, error handling, and practical examples such as score validation and temperature conversion, helping developers write cleaner, more encapsulated code.
DecoratorPropertyPython
0 likes · 8 min read

This tutorial explains the benefits of using Python properties, introduces decorator functions, and provides step‑by‑step examples of defining @property getter, setter, and deleter methods to create clean, readable, and maintainable class interfaces.
DecoratorPropertygetter
0 likes · 11 min read


ByteFEMar 14, 2021 · Frontend Development
This article explains how the CSS @property rule lets developers define the syntax, initial value, and inheritance behavior of custom properties, enabling type‑checked animations and transitions that were previously impossible with plain string‑based CSS variables.
CSSCustom PropertiesProperty
0 likes · 25 min read


ByteFEMar 11, 2021 · Frontend Development
This article introduces the CSS @property rule, explains how it enables type‑checking for custom properties, and demonstrates a variety of animation techniques—including color cycles, gradients, transforms, and numeric counters—to showcase the powerful new possibilities for modern front‑end development.
CSSPropertyanimation
0 likes · 11 min read

This article explains Python's object‑oriented fundamentals, covering class and instance attributes, instance, class and static methods, inheritance techniques, the super() function, and the @property decorator, each illustrated with clear code examples.
InheritanceOOPProperty
0 likes · 4 min read

This article explains the purpose, syntax, parameters, and return value of Python's property() function, demonstrates how to define getter, setter, and deleter methods both directly and via decorators, and provides additional examples and related built‑in attribute functions.
OOPPropertyPython
0 likes · 5 min read
