by crate_barre · 5y ago · 0 comments
It’s really none of my business, one can spend their time and money however they like. But, they do show up to work and advocate for these types of setups and that leads to bad codebases.
I’m not sure how any of us can solve it since Frontend is the port of entry for vast swaths of career-changers and new grads. Then again, I also see the over-engineering on devops, a group that should be a little more experienced. I don’t know where people get these ideas, so we might all be correct in shaking our fist at the Kent C Dobb types for fundamentally being a bad influence.
Just taking a look at one part of the stack, Xstate, how anyone can advocate for this is, I really just don’t know. This is a simple todo list example from it’s docs:
https://github.com/statelyai/xstate/tree/main/examples/todo-...
Eh, I give up. I really have no words for any of this.
However, Kent is only using XState in one non-trivial interactive part of the site – the call recorder: https://github.com/kentcdodds/kentcdodds.com/blob/main/app/c...
Seems to me like a proper use of a state machine (I might be biased, though).
When I build a small tool/webapp in 1-2 weeks, using "simple, dumb" technology (even within the React ecosystem), while some of my colleagues take 1+ month to build similarly complicated webapp, and after few months of usages there are 0 reported bugs in my apps and they are still cleaning edge cases.
Then I'm usually brought in to help on some of these projects, and most of my PRs look deep in the red (removing more lines than adding) while still adding features/fixing bugs. That shows part my experience, but also often the better use of the tools.
While this whole thread has been a whiplashing on the OP, it’s only happening because they seem to not get it and continue propagating stacks and layered complexity of this sort. In fact, they are literally selling it to the most impressionable without paying a dime of the consequences (suffering through the n-th over abstracted codebase).
I’ve lost patience.