Hacker News new | ask | show | jobs
by graypegg 1016 days ago
I honestly find functional programming paradigms to be simpler; coming from someone without any sort of comp sci background. Data goes in, UI comes out, seems pretty reasonable to me.

But I will say, I do get being weirded out by magic. Hooks in React specifically, where they're being memoized so you get persistent values out of them, just feels to hacky to me still. Data and the old data from the last time this method was called goes in... and the UI is the combination of that? Class components were at least pretty straight forward, if a little verbose.