3 repositorios
Language-level copy functions on data classes that clone objects while overriding selected properties.
Distinct from Deep Class Instance Cloning: Distinct from Deep Class Instance Cloning: focuses on Kotlin's built-in copy() method for data classes, not general deep cloning of arbitrary instances.
Explore 3 awesome GitHub repositories matching data & databases · Data Class Copy Functions. Refine with filters or upvote what's useful.
From Java To Kotlin - Your Cheat Sheet For Java To Kotlin
Demonstrates Kotlin's data class copy() function for cloning with property overrides.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Creates a modified copy of an existing instance by specifying which attribute values to change.
Effector is a reactive state management library designed for building complex, event-driven applications. It functions as a data flow engine that models application logic as a directed acyclic graph, ensuring that state updates propagate automatically through interconnected nodes. By utilizing atomic state updates and declarative unit composition, the library maintains data consistency and provides a predictable execution model for managing application state. The project distinguishes itself through its framework-agnostic architecture, which decouples business logic from user interface implem
Generates local instances of shared asynchronous operations to allow component-specific event subscriptions.