News

Overview The "enum" type in Python lets you create variables constrained to a predefined range of values. Learn how this built-in Python type can be used to express the state of something, whether ...
Understand the pitfalls of using enumeration types in the domain layer of your .NET applications and the advantages of using record types instead.
When I add an enum as a shared type. I can pass it as a function parameter and it has no errors, but when building the project into it's "js" state, during runtime it says that this enum does not e ...
From TypeScript Handbook on Enums: Enums are one of the few features TypeScript has which is not a type-level extension of JavaScript. In other words, TypeScript enums have their corresponsing runtime ...
Practical .NET .NET Core: Writing Really Obvious Code with Enumerated Values in gRPC Web Services Peter's pretty fanatical about replacing documentation/comments with readable code. So he's very ...