# Mapping a 'getter'

**URL:** https://discourse.julialang.org/t/mapping-a-getter/107276
**Category:** New to Julia
**Created:** [December 7, 2023, 3:02pm UTC](https://discourse.julialang.org/t/mapping-a-getter/107276 "2023-12-07T15:02:14Z")
**Posts on this page:** 1
**Showing post:** 16

<div class="post-metadata">

### Author: ![Marco\_Antoniotti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marco_antoniotti/32/18697_2.png) [@Marco\_Antoniotti](https://discourse.julialang.org/u/Marco_Antoniotti)
#### Post date: [December 7, 2023, 8:05pm UTC](https://discourse.julialang.org/t/mapping-a-getter/107276/16 "2023-12-07T20:05:03Z")

</div>

Oh yes. It is idiomatic in at least another language. The one with even better macros than Julia (look ma, no ‘@’), many implementations and some very good compilers. 😀

In any case, I can live with `x -> x.field`.

Cheers  
MA

---

_[View the full topic](https://discourse.julialang.org/t/mapping-a-getter/107276)._
