# \[ANN\] DotCall.jl OOP-like dot notation

**URL:** <https://discourse.julialang.org/t/ann-dotcall-jl-oop-like-dot-notation/122402>\
**Category:** Package Announcements\
**Tags:** announcement\
**Created:** [November 8, 2024, 1:36am UTC](https://discourse.julialang.org/t/ann-dotcall-jl-oop-like-dot-notation/122402 "2024-11-08T01:36:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Post date:** [November 8, 2024, 2:38pm UTC](https://discourse.julialang.org/t/ann-dotcall-jl-oop-like-dot-notation/122402/4 "2024-11-08T14:38:58Z")

</div>

In case it’s not obvious, mucking with `Vector` this way is good for experimenting, but is [dangerous](https://github.com/jlapeyre/DotCall.jl/issues/7#issuecomment-2464868054).

For example, If you make a PR to say, OrdinaryDiffEq.jl, with this

```julia
DotCall.@dotcallify Vector (map=(v, f) -> map(f, v),);

```

you’ll have a (very) hard time getting it merged.

---

_[View the full topic](https://discourse.julialang.org/t/ann-dotcall-jl-oop-like-dot-notation/122402)._
