Dennis Hackethal’s Blog
My blog about philosophy, coding, and anything else that interests me.
Tweet
This mirrored tweet of mine may be formatted slightly differently than on Twitter.
This is an older tweet. I don’t necessarily endorse it anymore.
Dennis Hackethal
@giovannibenussi @SimonHoiberg
I think it would be better to simply declare a get
fn and then pass it the object and an array of nested properties. Fewer question marks that way.
Has the additional benefit of being able to map/filter/reduce over the nested properties before using them on the object.
What people are saying
Below comments were posted on this blog, not on Twitter.