Hacker News new | ask | show | jobs
by snicker7 1174 days ago
Languages and with some sort of decent metaprogramming support can alleviate this sort of issue (see Zig, Julia, Jai, etc.)
1 comments

Do you have examples? I cannot think of a good way to do that.
For python, you can use pandas. It even has arrow support now.
Yeah, I need to try it.

But the parent was suggesting that metaprogramming could make readability issues go away and I can't wrap my head around how it would do that.

In Julia you can use https://juliaarrays.github.io/StructArrays.jl/stable/ which lets your code use the array of structs interface but internally it’s a structure of arrays
Nice, thanks!