I believe the best outcome would be for OTP to get a native vector type and then Elixir can support it, including the Access behaviour. So I would wait. it may never happen because the barrier to entry is so high but hey, OTP didn't use to have native maps either! piątek, 22 września 2023 o 13:07:40 UTC+2 ...Paul napisał(a):
> On Fri, Sep 22, 2023 at 11:54 AM Ben Wilson <benwil...@gmail.com> wrote: > >> The harm isn't for people who doing it intentionally, the harm is for >> people who are doing it unintentionally. Index based array access is so >> common in certain languages that it's one of the first thing newbies from >> those languages will try in Elixir and if it works then they'll just >> proceed writing loops like: >> > > Fair enough. :) > > ...Paul > > > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/3a1f072e-483a-4b0b-ab2c-96cc43799f6cn%40googlegroups.com.