How to Use Enums in TypeScript Step-by-Step #Typescript #Enums #Constants #Numeric #String #Heterogeneous #Values #Named #Switch #case #Use #Examples #Guide #Beginners #Code
Latest posts tagged with #enums on Bluesky
How to Use Enums in TypeScript Step-by-Step #Typescript #Enums #Constants #Numeric #String #Heterogeneous #Values #Named #Switch #case #Use #Examples #Guide #Beginners #Code
Getting Started with TypeScript for Beginners #Typescript #Beginners #Tutorial #Javascript #Coding #Programming #Learning #Installation #Compile #Types #Functions #Classes #Interfaces #Enums
Ready to go beyond traditional C# enums? On June 17th, Pawel Gerr’s new article on Smart Enums in .NET drops! Learn how to add type-safety, extensibility & real logic to your code. Stay tuned!
#dotnet #CSharp #Enums
Traditional C# enums too limited? Pawel Gerr’s new article explores Smart Enums in .NET—encapsulate data & behavior for robust, type-safe code!
Read now: https://lnk.thinktecture.cloud/smart-enums-1
#dotnet #CSharp #Enums
For the gophers out there... Just a reminder: a bunch of consts + iota isn't an enum. Slugs aren’t enums. Interfaces, structs, and switch statements aren’t enums either.
Enums are enums.
Scala went through the same BS for what felt like a gazillion years.Just add a proper enum to the language […]
Ready to go beyond traditional C# enums? On June 17th, Pawel Gerr’s new article on Smart Enums in .NET drops! Learn how to add type-safety, extensibility & real logic to your code. Stay tuned!
#dotnet #CSharp #Enums
How to Use TypeScript Enums with Functions Imagine you work in a coffee shop and want to write a ...
pythonguides.com/use-typescript-enums-wit...
#Dictionary #TypeScript #Use #TypeScript #Enums #with #Functions
Result Details
Neat:
“A Surprising Enum Size Optimization In The Rust Compiler”, James Fennell (jpfennell.com/posts/enum-t...).
Via Lobsters: lobste.rs/s/w3jjb2/sur...
On HN: news.ycombinator.com/item?id=4361...
#Rust #PLDI #Compilers #Optimization #Enums #TaggedUnions #Variant #Efficiency #Programming
Fascinating that #TypeScript 's people are talking about getting rid of #enums (union types can handle most of the situations - someone recently wrote they consider TS enums a mistake), yet now we have #Javascript talking about putting them in JS using the TS syntax:
github.com/rbuckton/pro...
Desvendando o Poder das Flags em C# e ReactJS: Por Que Este Simples Truque Pode Mudar Tudo! (#csharp #dev #flags #dotnet #enums #reactjs #javascript #typescript)
Unleashing the Power of Flags in C# and ReactJS: Why This Simple Trick Changes Everything! (#csharp #dev #flags #dotnet #enums #reactjs #javascript #typescript)
#Laravel's mapInto Method: Streamlined Array-to-Enum Conversion 🔄
🔹Laravel's Collection::mapInto method now provides first-class support for #PHP 8.1 #Enums
🔹 Elegantly transforms raw string values into proper enum instances with minimal code
🧵 👇
Wednesday Links - Edition 2025-02-19
dev.to/0xkkocel/wed...
#java #jvm #mcp #jit #enums #generics #kotlin
youtube.com/shorts/GhdEG...
#scala #intellij #ij #enums #patternmatching
I read an article on LinkedIn arguing against using #enums in #Rails models, favoring simple strings instead. While I believe integer enums provide faster indexing, querying, and less storage use, I'm curious why strings would be preferred.
When using flag enums in CSharp, did you know...
#csharp #dotnet #enums #binary #learntocode
When's the last time that you used binary in CSharp?
#csharp #dotnet #enums #binary #learntocode