Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
🍉 max frühschütz  – нет войне
🍉 max frühschütz – нет войне
@mfru@mastodon.social  ·  activity timestamp 5 days ago

ok now hear me out:

#GoLang but with proper enums

thank you for your attention

  • Copy link
  • Flag this post
  • Block
pancsta
pancsta
@pancsta@mastodon.social replied  ·  activity timestamp 5 days ago

@mfru here you go https://github.com/orsinium-labs/enum. Having the language minimal makes making DSL possible, its a feature, not a bug.

GitHub

GitHub - orsinium-labs/enum: Type safe enums for Go without code generation or reflection

Type safe enums for Go without code generation or reflection - orsinium-labs/enum
  • Copy link
  • Flag this comment
  • Block
🍉 max frühschütz  – нет войне
🍉 max frühschütz – нет войне
@mfru@mastodon.social replied  ·  activity timestamp 5 days ago

@pancsta that is actually awesome, finally no more code generation!

  • Copy link
  • Flag this comment
  • Block
gram
gram
@orsinium@fosstodon.org replied  ·  activity timestamp 5 days ago

@mfru @pancsta

ain't no problem i can't solve with generics and a bit of glue 🙃

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct