As developers, we use frameworks and third party tools to build websites faster and more easily. Ask any developer why they use these tools, and the answer is deterministic: productivity. Surely we want to be more productive in our work, but it's worth asking ourselves an important question: how are we defining productivity?
We have a tendency in our line of work to assume that what benefits us as developers translates to a benefit for those who use what we make. This is an unsafe assumption. When our natural tendency is to immediately reach for heavy frameworks without careful consideration for the problem we're trying to solve, we're courting failure of a kind. The kind where we're not only acting against the best interests of who we're trying to serve, but against our own as well. After all, no one is well-served by slow and inaccessible websites.
The more I've heard the term developer experience, the more blatantly self-serving it seems. Of course we should care about our experience as developers. We all want an environment that enables us to do the work, but are we considering the potential tradeoffs? When we develop with frameworks and third party tools, are they helping us to create things people would actually want to use? Or is our use of them simply about creating a delightful developer experience without much regard for how what we put in production can affect people?
This mentality has consequences. At best, it causes us to overlook the challenges people face when they access the web. At worst, it causes us to knowingly trivialize them for our own gain. How are we supposed to build anything anyone would want to use when we're so preoccupied with our own comfort?
I was in middle school when I started to make websites, which meant my coming of age was defined by the idea that I could make websites and put them on the web for anyone to see. It was intoxicating in part because it was an open platform without gatekeepers deciding what methods of building websites were worthy. If you knew some HTML and could upload it to a web server, you were in.
The web is broken in part because of our privilege. We're not compelled to act upon the hard answers to questions like "who uses what I make, and what are their limitations?" We just have to be "productive" — whatever that means — and ship code in rapid succession on a schedule that aligns with increasingly demanding fiscal goals.
The web we own today is one that apparently can't be bothered to care about acccessibility or performance unless those things are profitable — which is exactly why it's so poisonous. When the bar for why our mounting tech debt should be addressed is whether doing so translates into profit — or avoids costly lawsuits — our moral compass has been demagnetized. It's a mental state in which we're willing to reject the needs of people unless it meets a financial test. Only privileged people could be so callous.
It's only when we genuinely realize that the tools we use have an irreducible cost that can we begin to use them with care. Just because we can rationalize this cost away doesn't mean it ceases to exist. Some folks are going to be impacted by the choices we make, and we need to make peace with that fact. It's easy to slap something up on a web server, but it's quite another to be a steward of it in a way that makes the web a better place. That starts with redefining our productivity with the goal of serving the interests of others instead of our own.