As if it were real

I was once given a coding challenge as part of a job interview.

The challenge was to automate a simple business process. If I had to solve such a problem in the real-world, I would have used a framework. Since it was only a simulation, I used a lightweight solution without a framework and left a comment behind stating what I would have done differently if it were a real-world process.

As soon as my interview started, the interviewer asked me ‘what prevented you from using a framework to solve the coding challenge?’ I didn’t have a good answer to this question, and at that point, I knew that I had messed up.

We often think of practice and simulation as being different from the real deal. It is often useful to approach these situations as though they were real.