# Inspect/2 output for structs: executable code or structure?

**URL:** <https://forum.elixirforum.com/t/inspect-2-output-for-structs-executable-code-or-structure/64659>\
**Category:** Questions\
**Tags:** structs, struct, inspect\
**Created:** [July 3, 2024, 12:27am UTC](https://forum.elixirforum.com/t/inspect-2-output-for-structs-executable-code-or-structure/64659 "2024-07-03T00:27:07Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![LostKobrakai](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/lostkobrakai/32/3072_2.png) [@LostKobrakai](https://forum.elixirforum.com/u/LostKobrakai)\
**Post date:** [July 3, 2024, 7:35am UTC](https://forum.elixirforum.com/t/inspect-2-output-for-structs-executable-code-or-structure/64659/3 "2024-07-03T07:35:34Z")

</div>

To me “exectuable code” inspection format is a (better) alternative to the previous convention of having `#Struct.Name<…>` format. But I don’t expect it in places where no custom inspect implementation is needed and/or makes sense, so I don’t consider that new pattern a general one to be applied everywhere.

---

_[View the full topic](https://forum.elixirforum.com/t/inspect-2-output-for-structs-executable-code-or-structure/64659)._
