# \#dot

**URL:** https://forum.elixirforum.com/tag/dot/3565.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Deprecate map.field() syntax suggestion](https://forum.elixirforum.com/t/deprecate-map-field-syntax-suggestion/53522)

<div class="topic-metadata">

**Author:** [@hst337](https://forum.elixirforum.com/u/hst337)\
**Replies:** 6\
**Last updated:** [January 30, 2023, 2:18pm UTC](https://forum.elixirforum.com/t/deprecate-map-field-syntax-suggestion/53522 "2023-01-30T14:18:12Z")

</div>

iex\> map = %{x: 1} iex\> map.x 1 iex\> map.x() 1 Why would anyone use the map.x() syntax for getting map value? I’d suggest deprecating it since it is misleading. Elixir compiler can add IO.warn to map clause when this ha…
