why

why

Annotating Nested Data Structures (Across Languages)

Hi,

There is a really interesting (and growing) set of solutions for how to traverse and annotate a nested data structure across a variety of programming languages coming together here:

https://github.com/josevalim/nested-data-structure-traversal

I’m super grateful for @josevalim’s focus on this topic, as it goes straight to the point of where I see the greatest need for improving my personal productivity as an Elixir developer. It’s also the area where I’m most worried that I might run into a wall in the course of building an application with Elixir.

I have by now solved a few annotations / changes of deeply nested data structures in Elixir. I have learned quite a bit about recursion in the process, have received great help here and on Slack with my questions about it, have studied the docs, used the various nested structure functions in Access and Kernel, and experimented with some lens libraries.

Nonetheless, I am still worried about running into a productivity hole when one of these (especially a deeply nested one that requires updates in many places) comes along…

My plan for addressing this was to build up a collection of examples and patterns as a base to work from, but I haven’t gotten around to it yet…

Love the fact that there is a focus on this, and really, really looking forward to any goodies (examples and/or helpers / conveniences) that might potentially come out of it (and already have come out of it in the Elixir folder) :slight_smile:

Most Liked

hauleth

hauleth

Access is lens implementation :wink:

Where Next?

Popular in Discussions Top

boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
chulkilee
Here are the list of HTTP client libraries/wrappers, and some thoughts on HTTP client in general. I’d like to hear from others how they w...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
PragTob
Hello everyone, I know we had quite some threads (read through lots of them) about background job processing but it remains a hotly deba...
New
slashdotdash
Phoenix Live View is now publicly available on GitHub. Here’s Chris McCord’s tweet announcing making it public.
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New

Other popular topics Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New

We're in Beta

About us Mission Statement