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

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54996 245
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
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
pillaiindu
I want to convert a Phoenix LiveView CRUD website to a CRUD mobile app. What do you think is the easiest way to do so?
New
crispinb
On reading dhh’s latest The One Person Framework it strikes me that Phoenix with LiveView is already pretty much this. However, never hav...
New
AstonJ
Can you believe the first professionally published Elixir book was published just 8 years ago? Since then I think we’ve seen more books f...
New
arcanemachine
https://nitter.net/josevalim/status/1744395345872683471 https://twitter.com/josevalim/status/1744395345872683471
New

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
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
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New

We're in Beta

About us Mission Statement