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. ...

January 23, 2024 · 1 min · Aleem Isiaka

Imparative and Declarative coding?

Choose to be clearity over ambiguity

January 20, 2024 · 4 min · Aleem Isiaka