Skip to main content

Why are we interviewing Developers by asking Architect questions?

I discovered something spectacular and I must write about it.

Calling a developer an Architect is something of a badge of glory.  It essentially means "this guy knows so many languages and techniques that he should be the final say in planning projects".  Developers who work with an architect tend to refer to his judgement whenever something new-to-them comes up.

This title is associated with an action: Architecting Code--but architecting code is simple.  Any programmer who's written even the simplest "Hello World" app from scratch has architected code.  The idea behind an Architect is that he architects code well.  He plans the code in such a way that it works, is easy to maintain and is easy to extend--at least in theory.

But what about the non-architects?  Every other developer in the office is just that--a developer.  They aren't stepping into a clean room where they are free to wave their paintbrush across the canvas.  They've walked into what is generally described as a mess of spaghetti code.  Someone architected their project for them and their just trying not to mess it up too bad.  The truth is, the role of a maintenance developer is nothing like that of an architect.

And this is where my enlightenment laid.  A developer interview is a series of Architect questions.  The more arbitrarily picked questions you get right about relatively relevant languages and techniques, the better developer they think you are.  In reality, the best developers (not architects) I've worked with probably couldn't name the technique they were using or recite the SOLID principles off the top of their heads.  But they were brilliant problem solvers, and they were great at matching their code to the code style already there.  These sorts of coders are an architect's dream.  That's the sort of skill we should be interviewing for--not asking them to list the steps in an ASP.NET page lifecycle.


  1. Just this Monday I was in an interview that finished with me being given a practical programming test - given 45 minutes, a laptop with visual studio and a fake but relevant scenario, work through it as far as you can then walk somebody else through your code.

    I enjoyed it, and the rationale for the mini code slam? Never hire a programmer you have not seen code.

  2. I fall firmly into the maintenance programmer category; having worked for 5 years on help desk and another 5 years on SQL Server databases, I had a lot of time to pitch in on .NET code in large projects, refactoring and fixing bugs, and testing; not to mention writing a lot of my own tools.

    I can’t often build something substantial from the ground up like a real programmer but I’m not without my uses, and that makes it hard to find jobs.

    So imagine my surprise when I found myself out of work a few months ago and started applying, and found a few places that direly needed someone to take over maintenance and refactoring mode as a dual programmer + DBA. Except even though I flew through the interview process and received a lot of head nodding and agreement, I didn't end up getting them because I wasn't enough of “a real programmer”.

    I think it comes down to a throwaway culture. In the past you wouldn’t have expected a fridge or washer repair person to know how to build one from the ground up; but currently you wouldn’t likely even hire one, you’d just throw your broken equipment away and buy a new one. Ditto for programming; every business thinks its codebase needs the most skilled hands possible… even if it's not skilled work and their stars are going to leave out of boredom a year later.

    I did end up finding work elsewhere as a pure DBA,but I can’t help but feel those short-sighted companies missed out on something special.

    1. You hit the nail on the head. Props to you for being a real world programmer and doing what it takes to keep the world running in spite of the stupidity and disrespect from the hiring community.

    2. Sad to hear that in this DevOps world...

  3. I think you sorely misunderstand what "architecting code" is. No "hello world" program can be compared to architecture, any more than a lean-to shelter can be meaningfully compared to something as simple a house. Architecture is not about languages or "techniques." (What are those anyway? Data structures? Design patterns? Size/speed/power optimizations? Integrity, atomicity, or durability guarantees?)

    Architecture involves understanding the properties of materials, their strengths, weaknesses, and relationship to other materials. It also involves taking a set of desired outcomes and expectations an integrating them into a coherent whole. Architecture, in other words, involves more than merely constructing individual programs or components, and certainly much more than knowledge of the internal details of a particular tool (e.g. ASP.NET, which you mentioned).

    When it comes to techniques, SOLID principles, etc., those are just things that experienced, professional developers should know. If you're an object-oriented programmer that can't meaningfully discuss SOLID (you don't have to have it memorized) and what it implies, you're not as experienced as you think you are. If you're a functional programmer and you can't meaningfully discuss the tradeoffs of immutability, again, you're not as experienced as you think you are.

    Being a professional means that you are conversant in the terminology of your industry. It also means that you are aware of best practices and aware of developing trends in your field. In programming, a great many problems have already been solved, so being a professional programmer often means knowing how to find and use the solutions that are already available. Being able to do so without the assistance of an architect is a sign of maturity, something good interviewers are looking for.

    1. Partially agree, but if there is an architect, a programmer gets an UML diagram and turns it to code.
      OTOH SOLID and YAGNI mutually exclusive so the interviewee have to read mind on the interview, too, not only on the edge of the current trends.

    2. I did not mean to downplay the work of architects--I spend almost all of my time doing it these days myself. I was instead trying to demonstrate how easily you can confuse the two job roles, especially if you're not in the field. There's certainly a lot more to say on the subject. I only posted this to remind myself of the differences so that I might think about things differently in the future. I am glad that it seems to have started a discussion--one which I think is sorely needed.

      With regard to that discussion, you're wrong. I will not further extend the house metaphor because this is about interview questions, a highly discussed topic in our industry at the moment.
      These questions are so hard to come up with that we've seen everything from "Code this on a whiteboard" to "How many Jelly Beans are in a (theoretical) jar?" The current way of thinking simply isn't working. I believe that this is due to confusion about job roles.

      In a hot dog factory you don't quiz your HR applicants about the proper way to slaughter a pig. A developer's job is similarly removed from that of an architect. Any benefit he gains from being able to know technique number 457 off the top of his head is negligible compared to the speed at which he can pick up something new--because let's face it, you're hiring developers because your technology stack is unique. If you were like everyone else everyone out there is trying to sell you a preconfigured tool.

      The post emphasizes repeatedly that many questions are flat out arbitrary. Programming is not like academia or even like other scientific fields. There's such a high demand that companies are more interested in productivity, even over quality. Hiring a bug fixer is more akin to hiring a mechanic. He benefits from problem solving skills. The equivalent would be like asking him to define some technical terms related to wind resistance. While technically related to his field when working in a shop he gains little to no benefit from that knowledge. Those are, quite simply, the wrong questions to ask.

    3. If you're going to discuss architecture, it would be helpful to actually understand where the term came from. This is why I brought up the house metaphor (in a perhaps misguided attempt to keep things simpler than they actually are), and precisely why it is relevant. Nothing that you have mentioned concretely to this point is relevant to architecture. Indeed, to even say "architected code" is a complete misnomer and implies that you don't understand the term as it is actually used in the industry. Code can be "designed," but it is not architected.

      Maybe your choice of examples have just been too limited, but they don't remotely resemble the sorts of things I would ask when interviewing an architect. It might help if you provided say 5 or 6 complete examples (I know that's a fair amount of detail) so I can better understand what you're getting at.

      To reiterate: when interviewing object-oriented programmers, their ability to intelligently discuss design patterns and principles (such as SOLID) is one measure of how competent they are. Their ability to explain the tradeoffs of composition vs inheritance is one measure of how competent they are. The list goes on: eager/lazy initialization and binding, dependency injection, loose coupling, futures, strong vs soft references, (in)appropriate use of generic types, etc. Architects care about these things too, but all of these things are clues about the skill of the programmer.

      Programming is very much a scientific field: there are decades of scientific research that provide answers to most of the pressing concerns of everyday programming. I don't care how clever you are, if you don't know that that search algorithm you invented yourself (or copied out of convenience) is n-squared, I don't want you working for me. If you don't know what a state machine is, I'm going to assume you are pretty inexperienced, even if you're a good problem solver. If you're not regularly connecting your experience to the experience of other professional programmers and adapting to the shared terminology and nomenclature that is a part of the profession, you may be good at what you do, but you're not a professional, and I'm not likely to hire you.

    4. This comment has been removed by the author.

    5. This post gives a more complete response than I could give in a comment

  4. HR wants to hire as few IT employees as possible so they expect that a low priced programmer can do any task in the application development process up to and including project management. I can't count the number of department managers and project managers that offloaded their responsibilities onto me, because I was so "competent", so they could go home at 5:00 while I worked 12 hour days. "Work smarter, not harder" really means "Do more with less".

    1. Lately I find myself reminding people that competence is rare. I go so far as to say that 2% of the world is competent, and that this is across the spectrum of skills from brain surgeons to burger flippers. Mentioning that to your boss might remind them that they're demonstrating a lack of competence by offloading their work to you. Of course it might also come across as the veiled insult it is (in this case) and get you in trouble, so use with caution.


    1. see my reply here:


Post a Comment

Popular posts from this blog

Managing Developers is HARD

I've been a software dev for a long time.  I've also been running my own software company for a few years now.  This is important information because of why I do these things.  I am a sofware developer because I love learning.  I slack off when doing a job that bores me, and software development always has something new to experience which keeps me excited and interested.  Why start a software company then?  That puts me in the role of manager rather than developer.  The truth is simple.  I've worked for a lot of companies, and I don't see any of them doing a great job of managing their software development.  That's not to say none of them have done a good job, but no one out there seems to be doing a great job.

How are they different?
A lot of companies get this part right.  Software developers are different from other employees.  The distinction is important in the same way it's important to acknowledge that an insurance agent is different from a construction…

When Is Software Done?

I have some very exciting news.  A piece of software I've been working on for over 2 years is released to the general public!  This is a little exciting if it were software I'd been working on for some big company.  It's very exciting because it's software I have been working on for my company.  That's right!  My company is ready to start selling software and start making money!

I'm not gonna use this blog post to talk about my company and what it does.  You can read about that in our press release.  Instead, I'm going to talk about the software industry and the concept of done.  Because, as with everything, it's more complicated than it seems.

Software is never really done
Actually that's a misnomer.  Software can really be done.  But done is sort of a quantum state--there and not there at the same time.  First and foremost, anyone can understand that software that works is complete.  If the software's purpose is to process a credit card, if th…

How to identify a skilled programmer during an interview

How does one identify a skilled programmer?  No company that has interviewed me could tell the difference between myself and other programmers they'd interview.  The interview process is truly a game of luck in this industry--on both sides.  Both the programmer and the company are basing their actions entirely on luck.

Companies have come up with numerous methods to attempt to discern a good programmer from a bad one.  The best tricks they have include a series of math problems, algorithms, problem solving technique tests, and even obscure programming questions, some without definitive answers.  As an example: Is there an authoritative source of information on the core principles that define object oriented programming?  I've heard everywhere from 3 to 7.  In a field of research about a synthetic concept, an authoritative answer is almost impossible to obtain.

Programmers were then forced to study to the interview.  Careercup is one of my favorite sites for this.  This almost …