# Replacement for Dict, is anyone using isslotfilled?

**URL:** <https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810>\
**Category:** General Usage\
**Created:** [October 22, 2020, 10:51am UTC](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810 "2020-10-22T10:51:02Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Skoffer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/skoffer/32/378_2.png) [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Post date:** [October 26, 2020, 3:09pm UTC](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810/21 "2020-10-26T15:09:07Z")

</div>

As for the final item, you can always write `const ODict = OrderedDict` at the beginning of the file and have no issues with long names. Of course, it may be tedious to write it every time you want to use but on the other hand, there is always some preamble in any project.

Actually, all of the 4 items can be solved with a proper template in `PkgTemplates.jl`. You (or anyone else who needs OrderedDict) can write such a template once and never worry about this routine anymore.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [October 26, 2020, 9:12pm UTC](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810/22 "2020-10-26T21:12:29Z")

</div>

A solution which only is effective if you know you need them when you start your project and requires yet another thing to keep track of? No, thanks, I’ll live with the (mild) pain and will rejoice when the standard `Dict` becomes insertion ordered. Who knows, maybe it will happen faster than it did for Python.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [October 27, 2020, 9:26am UTC](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810/23 "2020-10-27T09:26:05Z")

</div>

> [@GunnarFarneback](#):
>
> I’ll live with the (mild) pain

Please let’s not pretend that using packages is a “pain” in any sense in Julia.

[Previous page](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810.md?page=1)
