# Objects whose structure can be redefined

**URL:** <https://discourse.julialang.org/t/objects-whose-structure-can-be-redefined/47733>\
**Category:** General Usage\
**Tags:** question\
**Created:** [October 4, 2020, 10:12am UTC](https://discourse.julialang.org/t/objects-whose-structure-can-be-redefined/47733 "2020-10-04T10:12:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![fusion809](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fusion809/32/6080_2.png) [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Post date:** [October 4, 2020, 11:13am UTC](https://discourse.julialang.org/t/objects-whose-structure-can-be-redefined/47733/5 "2020-10-04T11:13:14Z")

</div>

> [@Sukera](#):
>
> If you could tell us more about what you’re trying to achieve, we may be able to suggest a more julian approach. Redefining existing structs feels very much like a workflow used in e.g. python (which is interpreted and not compiled, and thus doesn’t suffer from the above problem since everything is a dynamic lookup anyway).

[This other question](https://discourse.julialang.org/t/inconsistent-typing-making-adding-arrays-and-adding-a-vector-to-the-end-of-an-array-difficult/47662) of mine shows how I’m using paramObj. In essence, I’m using it to store parameter values that I hand to an ODE-solving function that then passes it to a function representing the right-hand side of the system of first-order ordinary differential equations being integrated. I know I could use an array instead, it’s just it’s more convenient using an object where you can extract the values using the dot notation, as otherwise you need to remember the order in which you entered the parameters into the array.

---

_[View the full topic](https://discourse.julialang.org/t/objects-whose-structure-can-be-redefined/47733)._
