# Is OffsetArrays.jl a poison pill?

**URL:** https://discourse.julialang.org/t/is-offsetarrays-jl-a-poison-pill/85188
**Category:** Internals & Design
**Created:** [August 2, 2022, 7:22pm UTC](https://discourse.julialang.org/t/is-offsetarrays-jl-a-poison-pill/85188 "2022-08-02T19:22:53Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)
#### Post date: [August 2, 2022, 8:56pm UTC](https://discourse.julialang.org/t/is-offsetarrays-jl-a-poison-pill/85188/9 "2022-08-02T20:56:11Z")

</div>

We also have arithmetic with `begin` and `end`. For example,

```julia
x[begin+3:end, begin+1:end] .= x[begin:end-3, begin:end-1]

```

should do the same thing.

---

_[View the full topic](https://discourse.julialang.org/t/is-offsetarrays-jl-a-poison-pill/85188)._
