3 ms·
> being completely familiar with the tools used but completely unfamiliar with the codebase here lies the problem.Someone familiar with a specific pattern may
by aikah 11y ago
> being completely familiar with the tools used but completely unfamiliar with the codebase
here lies the problem.Someone familiar with a specific pattern may find it more elegant that someone who is not familiar with the said pattern/paradigm/framework. I'm found of OOP, show me a codebase with mountains of FP everywhere and I might not find it elegant. Elegance here is really in the eye of the beholder.
I do not find Flux elegant at all, personally.
- z5h 11y agoReact builds a pure function that maps data to UI. Flux is a fold over a stream of events that generates a stream of data states. That's ALL of it. What do you find to be inelegant: fold, or a pure map function?
- tylermauthe 11y agoI love this summary of Flux!
- headinthebox 11y agoI presume you mean `scan` not `fold`.