• xmunk
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Metaprogramming is extremely useful for long term code readability. What you’re doing is probably fine but we can’t really evaluate that without seeing the actual code.

    • Kogasa@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      That’s why I stopped writing code and started writing ASTs and AST transformers that can be configured to emit libraries.