Avoid TypeScript Enums ☠️

preview_player
Показать описание
An excerpt from a recent interview with Orta Therox 🤗

Summary: Till JavaScript gets enums, Enums are not a very JavaScripty way of doing things 🌹

Extracted from the Full Uncut Interview (members only):

🏷 #basarat #TypeScript #JavaScript #Tutorial

👇 ❤️ Subscribe for MOORE ❤️ 👇

🌹 Support 🌹

~
Рекомендации по теме
Комментарии
Автор

I was just unsure why I thought this was a God and then I realized that God means creator and I asked ChatGPT why and I think he said something similar: « Orta Therox is a significant figure in the TypeScript community due to his work as an engineer on TypeScript at Microsoft. He contributed to TypeScript's development and helped shape it into one of the top 5 programming languages we know today »

Luxcium
Автор

What is the reason for not liking them?

HansWindhoff
Автор

I don't like enums either, for that reason, I use Go

manosragiadakos