# Allow specifying the type when defining structs

**URL:** <https://forum.elixirforum.com/t/allow-specifying-the-type-when-defining-structs/30397>\
**Category:** Discussions\
**Tags:** structs, feature-request\
**Created:** [April 6, 2020, 11:30am UTC](https://forum.elixirforum.com/t/allow-specifying-the-type-when-defining-structs/30397 "2020-04-06T11:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dimitarvp](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/dimitarvp/32/38664_2.png) [@dimitarvp](https://forum.elixirforum.com/u/dimitarvp)\
**Post date:** [April 6, 2020, 4:14pm UTC](https://forum.elixirforum.com/t/allow-specifying-the-type-when-defining-structs/30397/6 "2020-04-06T16:14:33Z")

</div>

> [@smolcatgirl](#):
>
> Without pulling in a extra dependency.

This has been an irrelevant problem ever since the Apple IIc computers stopped being mainstream. What are you worried about? A several dozen of kilobytes extra on your drive?

Doesn’t seem like a valid objection.

---

_[View the full topic](https://forum.elixirforum.com/t/allow-specifying-the-type-when-defining-structs/30397)._
