# Collecting a list of features Julia accidentally has

**URL:** <https://discourse.julialang.org/t/collecting-a-list-of-features-julia-accidentally-has/104654>\
**Category:** Offtopic\
**Created:** [October 6, 2023, 10:04am UTC](https://discourse.julialang.org/t/collecting-a-list-of-features-julia-accidentally-has/104654 "2023-10-06T10:04:09Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Benny](https://avatars.discourse-cdn.com/v4/letter/b/49beb7/32.png) [@Benny](https://discourse.julialang.org/u/Benny)\
**Post date:** [October 7, 2023, 12:10am UTC](https://discourse.julialang.org/t/collecting-a-list-of-features-julia-accidentally-has/104654/6 "2023-10-07T00:10:51Z")

</div>

Don’t do this in general, another thread has gone farther to consider a macro for using zero-based indexing on 1-based arrays via `begin+`, and it identified notable exceptions e.g. `:`, `firstindex`, and any [arbitrary methods](https://discourse.julialang.org/t/zero-based-indexing-not-again/100944/6), so it’s impossible to make a macro that covers them all. Offset-based indexing is only safe if you have literal integers to work with.

---

_[View the full topic](https://discourse.julialang.org/t/collecting-a-list-of-features-julia-accidentally-has/104654)._
