ponyfoo.com

The Architecture of Productivity

Fix
A relevant ad will be displayed here soon. These ads help pay for my hosting.
Please consider disabling your ad blocker on Pony Foo. These ads help pay for my hosting.
You can support Pony Foo directly through Patreon or via PayPal.

It’s been a while since I last blogged. I went on vacation, switched jobs, and have been generally busy. I’m now working full-time remote, which will hopefully give me some more time to dedicate to this blog.

A few days ago, I read an interesting rant, written by Ryan Dahl, about software development. It prompted me to write this blog post about it, and share my thoughts on the matter. You can find his post at the end of this entry.

Ryan boldly indicates that all that matters in software development is user experience. I disagree with this. And here’s why.

While it’s true that end user experience is the single most important aspect in software, it’s undeniable that there are other aspects of software that should be treated carefully as well. I don’t subscribe to the theory that “anything you do beyond doing the bare minimum in order to solve the problem is utterly worthless”, which Ryan hints at.

When developing an application, you could always over-engineer, which is bad, and where I’d agree with Ryan. There are lots of principles you should try and follow here. YAGNI and KISS are important ones in regards to over-engineering.

over-engineering-meme.jpg
over-engineering-meme.jpg

But not everything is over-engineering. Picking and tuning a text editor (in fact, my next blog topic), configuring a more seamless build process, and learning the ins and outs of your everyday toolset, or more generally things that not likely to change, are all very effective ways to boost your development productivity. And, to me, it doesn’t just end with configuring your environment, although it’s perhaps the most significant productivity boost you could earn.

Writing clean, though concise, application architectures can help to achieve the simplicity demanded by large software projects, while not being strictly directed towards solving the problem at hand. Clean architectures go a tremendous way towards the goal of positive user experiences, speed up development cycles by removing redundancy (DRY), and ensuring that no unexpected bugs are introduced, by making the application more easily testable.

On the subject of not adding to the problem, I couldn’t agree more. but that’s something that’s easily avoidable for the vast majority of software developers out there, who aren’t working on languages, compilers, operating systems, or in a sufficiently large company that warrants creating a widely used DSL (such as FQL).

I would reword his conclusion as:

The single most important aspect in software development is end-user experience, but productivity in day-to-day software development is also crucial if you are expected to meet deadlines today and in the future. The software development experience might be just as important.

Below is the post Ryan originally wrote.

I hate almost all software. It’s unnecessary and complicated at almost every layer. At best I can congratulate someone for quickly and simply solving a problem on top of the shit that they are given. The only software that I like is one that I can easily understand and solves my problems. The amount of complexity I’m willing to tolerate is proportional to the size of the problem being solved.

In the past year I think I have finally come to understand the ideals of Unix: file descriptors and processes orchestrated with C. It’s a beautiful idea. This is not however what we interact with. The complexity was not contained. Instead I deal with DBus and /usr/lib and Boost and ioctls and SMF and signals and volatile variables and prototypal inheritance and C99_FEATURES and dpkg and autoconf.

Those of us who build on top of these systems are adding to the complexity. Not only do you have to understand $LD_LIBRARY_PATH to make your system work but now you have to understand $NODE_PATH too - there’s my little addition to the complexity you must now know! The users - the one who just want to see a webpage - don’t care. They don’t care how we organize /usr, they don’t care about zombie processes, they don’t care about bash tab completion, they don’t care if zlib is dynamically linked or statically linked to Node. There will come a point where the accumulated complexity of our existing systems is greater than the complexity of creating a new one. When that happens all of this shit will be trashed. We can flush boost and glib and autoconf down the toilet and never think of them again.

Those of you who still find it enjoyable to learn the details of, say, a programming language - being able to happily recite off if NaN equals or does not equal null - you just don’t yet understand how utterly fucked the whole thing is. If you think it would be cute to align all of the equals signs in your code, if you spend time configuring your window manager or editor, if put unicode check marks in your test runner, if you add unnecessary hierarchies in your code directories, if you are doing anything beyond just solving the problem

  • you don’t understand how fucked the whole thing is. No one gives a fuck about the glib object model.

The only thing that matters in software is the experience of the user.

I recommend reading The Pragmatic Programmer, if you are interested in learning more on how to be productive while staying on target and be a solid software thinker in general.

pragmatic-programmer.jpg
pragmatic-programmer.jpg

Until the next time!

Liked the article? Subscribe below to get an email when new articles come out! Also, follow @ponyfoo on Twitter and @ponyfoo on Facebook.
One-click unsubscribe, anytime. Learn more.

Comments