Dynamically lookup a property in deeply nested object

I was solving a challenge and got to a point where I had to implement a store that could hold arbitrarily deeply nested objects. The new me, I need to see what others have done. I found dot-prop npm package, which solves it quite well. But going through this gist, I found this answer. The author said a “functional way to solve it”… And this right here, is an example of declarative programming. ...

Created: Jan 23, 2024 · Last Modified: Dec 15, 2025 · 1 min · Aleem Isiaka

Imparative and Declarative coding?

Choose to be clearity over ambiguity

Created: Jan 20, 2024 · Last Modified: Dec 15, 2025 · 4 min · Aleem Isiaka