Comp's Tags: When Keywords Become Extensible Hierarchies
Picture extending true and false with 'maybe' without breaking a thing. Comp's tags do just that, weaving hierarchies into every corner of the language.
⚡ Key Takeaways
- Comp tags turn keywords into extensible hierarchies, extending builtins like bool without breakage.
- They eliminate stringly-typed enums, powering units, shapes, and parameter inference natively.
- Dual role as shapes and values enables powerful, discoverable code organization.
🧠 What's your take on this?
Cast your vote and see what DevTools Feed readers think
Worth sharing?
Get the best Developer Tools stories of the week in your inbox — no noise, no spam.
Originally reported by dev.to