Flashes Home Search Notifications Sign in Post
Aran Wilkinson @aran.dev · Dec 8

Empty struct method can be used for interface verification

0 likes 1 replies

?

Replies

Aran Wilkinson · Dec 8

Neat trick with empty structs is type-safe enums with zero overhead

Legal

Privacy Policy Terms and Conditions

Contact

Support FAQs

Follow

Bluesky Instagram Threads
Flashes for Bluesky Get it on the App Store