About Cost in Web Development
Published on OctĀ 1, 2013 (updated FebĀ 5, 2024), filed under development (feed). (Share this on Mastodon orĀ Bluesky?)
This and many other posts are also available as a pretty, well-behaved ebook: On Web Development.
Cost is an interesting topic. Oftentimes we think of cost as in āthis costs so-and-so much.ā Like, the software license costs $2,500. Or three man hours cost $450. Iām not an economist but I like to think of this as something like primary cost.
Yet, thereās more. Thereās hidden cost, or secondary cost. Thatās the price we pay for everything else thatās coming with what we bought, as well as the price of everything we canāt do anymore. For example, we buy a license for a content management system. But implied and not clear at first are cost for implementation, training, documentation, maintenance, &c. And using another system, possibly cheaper or with more relevant features, may now be off the table. Thatās lost opportunity, or opportunity cost.
Thereās the known cost in terms of what weād spend to solve a problem. Thatās the cost of solution. But we do better comparing it to the cost of the problem to get an idea of whether we actually want to invest in the solution. Sometimes the solution costs more than the problem. Thatās a pill perfectionists have to swallow, frequently. So when we face a recurring manual task we may first calculate how much that task, the problem, costs us. And then we look at how much automating the task, the solution, would cost. A task that requires two minutes every week may not be worth spending several tens of thousands of dollars to automate.
And then thereās cost in terms of comparative cost. Personally, Iāve found myself saying āwe shouldnāt do this because itās expensiveā a lot. That āexpensiveā rarely means high-priced. It has to be seen as comparative, relative, āmore expensive.ā In a code scenario letās think of solving a styling problem by inserting extra markup instead of accepting additional complexity in the style sheet (although we already know that getting the markup right is most important). That solution could turn out expensive not absolutely, as inserting that extra markup might only require a few seconds, but relatively because it would require every team member to know about the new constraint, because it would require being done many more times, and because overall it would be more work.
We realize that the solutions weāre working on and our actions have a cost. But we need to go beyond āprimaryā cost. Senior web developers should also have an understanding of the cost of problem, be able to spot hidden cost, and recognize the cost implications of alternative solutions. Doing so enables us to make smarter decisions. Not just in web development. Cost is an interesting topic.
I like to focus on web development from a business perspective a bit more. And I love excellent literature. If you know a piece you think I should check out, please leave a comment or shoot me a line. Thank you (this time from San JosƩ, Costa Rica).
About Me
Iām Jens (long: Jens Oliver Meiert), and Iām a web developer, manager, and author. Iāve been working as a technical lead and engineering manager for companies youāve never heard of and companies you use every day, Iām an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for OāReilly and Frontend Dogma.
I love trying things, not only in web development and engineering management, but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (I value you being critical, interpreting charitably, and giving feedback.)