# Macro for generating struct

**URL:** <https://discourse.julialang.org/t/macro-for-generating-struct/57479>\
**Category:** General Usage\
**Tags:** metaprogramming\
**Created:** [March 18, 2021, 2:48pm UTC](https://discourse.julialang.org/t/macro-for-generating-struct/57479 "2021-03-18T14:48:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Philippe\_Maincon1](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Post date:** [March 19, 2021, 5:40am UTC](https://discourse.julialang.org/t/macro-for-generating-struct/57479/5 "2021-03-19T05:40:00Z")

</div>

I agree. I burnt myself on this before. One things that crops up is “[who’s interpolating](https://discourse.julialang.org/t/generated-inside-macro-whos-interpolating/46895/14)”.

Thanks Robin!

---

_[View the full topic](https://discourse.julialang.org/t/macro-for-generating-struct/57479)._
