#Enums
Out of context game dev:

*chanting*

Enums enums enums
April 4, 2024 at 12:11 AM
Typescript 5.8 is shipping a flag to disable enums!

www.totaltypescript.com/erasable-syn...
TypeScript 5.8 Ships --erasableSyntaxOnly To Disable Enums
TypeScript 5.8's new erasableSyntaxOnly flag enforces pure type annotations by disabling enums, namespaces, and parameter properties.
www.totaltypescript.com
January 26, 2025 at 10:56 AM
javascript needs enums
July 9, 2026 at 3:01 AM
me desperately clinging to my const enums while the tools surrounding me has stopped supporting these typescript features or gimped them badly (turning const enums into regular enums)
November 8, 2024 at 12:43 AM
SO excited for enums!
tc39.es TC39 @tc39.es · Apr 15
ECMAScript Excitement 🎉

Today, TC39 advanced these proposals:

2️⃣.7️⃣ Non-extensible Applies to Private
1️⃣ Enums
1️⃣ Object.propertyCount
April 15, 2025 at 10:16 PM
I stay well clear of enums.

in fact as soon as ts 5.8 lands (with this PR: github.com/microsoft/T...) I'll be enabling `--erasableSyntaxOnly`

I've started using `--experimental-strip-types` in node too.

I use typescript for checking + intellisense, not in my build pipeline

roe.dev/ama

#ama
February 27, 2025 at 10:12 PM
mom can we have rust enums?
no we have rust enums at home
rust enums at home: java sealed interfaces + records
October 7, 2025 at 2:13 PM
ECMAScript Excitement 🎉

Today, TC39 advanced these proposals:

2️⃣.7️⃣ Non-extensible Applies to Private
1️⃣ Enums
1️⃣ Object.propertyCount
April 15, 2025 at 6:47 PM
ECMAScript excitement 😉

Congrats to @chronicles.org on advancing the Enum proposal to Stage 1 at TC39 today 🎉

This aims to bring the good parts of TypeScript enums to JavaScript plus enhancements such as new datatypes & potentially runtime performance improvements 👍

github.com/tc39/proposa...
GitHub - tc39/proposal-enum: Proposal for ECMAScript enums
Proposal for ECMAScript enums. Contribute to tc39/proposal-enum development by creating an account on GitHub.
github.com
April 15, 2025 at 4:20 PM
“[erasableSyntaxOnly] disables a bunch of features that I don't think should ever have been part of TypeScript.”

www.totaltypescript.com/erasable-syn...
TypeScript 5.8 Ships --erasableSyntaxOnly To Disable Enums
TypeScript 5.8's new erasableSyntaxOnly flag enforces pure type annotations by disabling enums, namespaces, and parameter properties.
www.totaltypescript.com
January 26, 2025 at 2:00 AM
Your instinct is right, and it's sharper than "too many enums." Here's the census.
August 8, 2026 at 3:39 PM
ECMAScript excitement 😉

TypeScript's @chronicles.org is pitching enum in JS 🎉

It's the good parts of TS enum + enhancements:

🔶 More datatypes: Symbols etc
🔶 Iterable
🔶 Immutable
🔶 Null prototype
🔶 No declaration merging
🔶 Compatible with Node type-stripping 👍

github.com/rbuckton/pro...
GitHub - rbuckton/proposal-enum: Proposal for ECMAScript enums
Proposal for ECMAScript enums. Contribute to rbuckton/proposal-enum development by creating an account on GitHub.
github.com
April 4, 2025 at 7:52 AM
Codable conformance for Swift enums has evolved over the years, with the compiler now handling much of the work automatically. I wrote a post about automatic conformance, customizing it, and writing fully custom encoding and decoding logic when needed: nilcoalescing.com/blog/Codable...
#SwiftLang
Codable conformance for Swift enums
Learn how to add Codable conformance to Swift enums, including automatic synthesis, customizations, and fully manual implementations for complex cases.
nilcoalescing.com
January 7, 2025 at 5:34 AM
I used to work in fintech and someone named some enums around cumulative calculations PRE_CUM and POST_CUM so the codebase was full of *CUM
... i know bj is technically the right ... acronym but. this. this can not stand.
June 28, 2026 at 4:59 PM
Amateurs quibble about spaces versus tabs, artists throw down with unshakeable and stringent views on enums.

Calm down people, it’s a fucking integer in a nice suit
Another Day, Another Strategy to avoid using Enums as much as possible.
November 27, 2025 at 11:07 AM
after like four years of rust i finally have a legitimate reason to use unions instead of enums, incredible
August 17, 2025 at 11:06 AM
Enums, number 9 will astound you.
October 7, 2025 at 3:17 AM
I wrote about the main feature of @typescriptlang.org enums that I'm going to miss: TSDoc support on enum members. I hope the TypeScript team can port this over to union members as more folks migrate towards string unions instead of enums.

blog.disintegrator.dev/posts/ode-to...
An ode to TypeScript enums
Pouring one out for a fallen friend
blog.disintegrator.dev
March 2, 2025 at 5:11 PM
Why PHP in 2026? TypeScript-level types, no build steps, immutability by default via readonly, enums, and more. whyphp.dev
Why PHP in 2026? It's Actually Insanely Good Now
PHP is actually insanely good now. TypeScript-level types, no build steps, immutability via readonly, enums, and more. Just write code and deploy.
whyphp.dev
January 25, 2026 at 5:43 AM
hide ur kids theyre moving the enums !!!!!!
May 5, 2026 at 10:17 PM
Learning how to use Enums has been hard

Refactoring all of my code to now work with Enums has been harder 😅

I'll tackle my scene manager tomorrow and then I should be ready to expand to level 2

#gamedev #gamedevupdate #godotgame #pixelartgame #indiegamedev #devvlog
June 16, 2025 at 11:48 PM
A flag which bans TS features with runtime emit (enums, namespaces, experimental decorators, etc) will come in 5.8 to help people executing TS code via Node.js (or who want to avoid using those features for "reasons").
November 23, 2024 at 6:21 AM
There are places where I have to use enums (Thrift 🤮), but @mattpocock.com changed my my mind on enums:

www.totaltypescript.com/why-i-dont-l...
December 20, 2024 at 3:13 AM
I put female first in my enums. Hashtag feminism
June 13, 2025 at 1:03 AM
If only Godot's input code enums were actual enums I wouldn't have to write code like this. 🫠
October 21, 2025 at 1:49 PM