Metaprogramming using eval and struct: BUG getting UndefVarError: not defined

NamedTuple are great and seem to be more flexible than structure, which I am testing in my code.

The only downside is that NamedTuple are immutable and that to my understanding there is no option to make them mutable , is that correct?

There was a recent discussion about that on Discourse:

https://discourse.julialang.org/t/alternative-to-mutable-named-tuple/38375

1 Like

Thanks a good discussion which addresses nicely my questions.

1 Like