2 repositorios
Use of dedicated values to represent uninitialized or special states in enumerations.
Distinct from Sentinel Value Replacement: Existing candidates focus on replacing sentinels with optionals or dual-behavior types; this is about defining them for zero-value clarity.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Sentinel Value Patterns. Refine with filters or upvote what's useful.
This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin
Assigns dedicated variables to enumeration zero-values to distinguish uninitialized states from valid defaults.
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
Uses a sentinel value to indicate the absence of a value, a notable feature for attribute defaults.