Kuba Lang: Hi Eric, many thanks for joining our show. can we start with the simple question for the context? Can you tell us about your current company and your role?
Erik Stenman: Thank you for having me. I'm currently CEO perhaps of my own little company, Happy Hacking, which is a consultancy company. I'm working as fractional CTO and coach to architects and other assignments. writing books
Kuba Lang: Mm-hmm.
Erik Stenman: and giving courses.
Kuba Lang: Mm-hmm. Okay, thank you. And since your rich experience, I'm sure it's going to be difficult to answer the question about your journey to becoming a CTO. but as we discussed prior to this recording, can you select the most interesting part as in like from your entry tech position into something that later evolved planned or unplanned into The very first CTO position.
Erik Stenman: So I started programming in 1980 so I've been at it for some time and in 89 I started my first company a consultancy company and
Kuba Lang: Mm-hmm.
Erik Stenman: then I studied computer science at Uppsala and I got a PhD in computer science from Uppsala University on native code compilation of Erlang programming language built by Ericsson. 2003,
Kuba Lang: And that was what year?
Erik Stenman: 2002 I
Kuba Lang: Sure. Mm-hmm.
Erik Stenman: finished and 2003 I went to EPFL in Lausanne for my post-doc where I worked with Martin Odewski as the project manager of the Scala programming language.
Kuba Lang: Wow. Mm-hmm.
Erik Stenman: So we released Scala 1.0 and then I was recruited to Virtutech, a company that made virtual machines. I thought I would get a management role there, but it turned out I was as a developer and
Kuba Lang: Mm-hmm.
Erik Stenman: I didn't really. get the influence of things that I wanted.
Kuba Lang: Mm-hmm.
Erik Stenman: So the next job when I started at a small startup called Creditor at the time, I was clear that I wanted to start as head of engineering, which
Kuba Lang: Mm-hmm.
Erik Stenman: was only me at the time.
Kuba Lang: Right.
Erik Stenman: I was the first engineer. and employee number seven of what later became Klarna. So
Kuba Lang: Mm-hmm.
Erik Stenman: then I sort of grew with Klarna into the CTO role over the years.
Kuba Lang: And that was so the number of employees grew from basically you to what number?
Erik Stenman: So in the whole company when I left in 2014 it was 1,200 people. So that was
Kuba Lang: Mm-hmm. And the tech team?
Erik Stenman: 10 years later and the engineering was around 80 people.
Kuba Lang: Incredible. so maybe because from what I'm hearing is that effectively your movements in terms of stepping up in the CTO ladder were predominantly caused by the need for influence in decisions, correct?
Erik Stenman: yes.
Kuba Lang: and so here, if we can just pause for a second and talk about how your leadership and perhaps you know team engagement changed over having effectively a small team to the extent where you were managing 80 people. and perhaps you know, if you could share some observations when the team grew to five, then perhaps if if the next observable point would be fifteen, twenty, then fifty, all the way to eighty.
Erik Stenman: Yeah, so of course in the early days I knew everyone in the company no matter what department they were in by name but after a while it was only all the people in the engineering department and by the end I didn't even know the name of everyone in the engineering department so this
Kuba Lang: Mm-hmm.
Erik Stenman: of course is the big bane of large companies that the communication that you need to do. So when we were eight developers we could move very quickly because everyone knew exactly what we were doing and
Kuba Lang: Mm-hmm.
Erik Stenman: we could gather everyone in one room and get decisions on what needs to be done and plan and get things going.
Kuba Lang: Mm-hmm.
Erik Stenman: But as we grew we had to formalize things and split up into teams and then have team leads and managers for the teams. This was of course a journey.
Kuba Lang: And at this stage, when you you start promoting team leaders, obviously if you recall, was there anything that was working particularly well and something that you would effectively not recommend CTO stepping into this role and to avoid such behaviors? Because I can see that you know it's it's certainly different to all different roles, even within the engineering team, but trying to kind of, you know, understand and building this playbook of what works when you start splitting the teams and what doesn't basically.
Erik Stenman: So one thing that I think worked well with that team was that we had tech leads and managers. Because most of the developers that were really, really good, were not at all interested in having
Kuba Lang: Mm-hmm.
Erik Stenman: responsibility for for people and doing the management
Kuba Lang: Mm-hmm.
Erik Stenman: stuff. But we didn't want the managers who were interested in this that didn't have the real technical skill to make the technical decisions. most of the teams were split into a manager and that did all the scheduling and
Kuba Lang: Okay.
Erik Stenman: hiring and then firing. with help
Kuba Lang: Mm-hmm.
Erik Stenman: of also the tech leads but doing personal stuff and then the tech lead that made technical decisions together with the team.
Kuba Lang: Mm-hmm.
Erik Stenman: then we gathered the tech leads into sort of architecture board to discuss things between the different teams.
Kuba Lang: Mm-hmm.
Erik Stenman: We also had to get build a lot of tools to make sure we had split the code in nice ways between the teams so that we this the whole system at that point was a monolith and it was sort of microservices were starting to become popular but not really that much at that time. and also it was written in Erlang. So Erlang has these processes and applications within one big system. So it was really microservices, but within a monolith. So we had to
Kuba Lang: Sure. And
Erik Stenman: make sure that each team had their responsibility and could move fast without the other teams.
Kuba Lang: Mm-hmm. More on a soft side. I'm curious about maintaining the culture. you mentioned about kind of you know gathering and doing, breaking things fast, when you were a team of eight. how do you balance between, first of all, making and staying with the attitude of of doing and delivering things fast, but at the same time as you said, sort of you know, adding a lot of different processes and then standardizing things. And at the same time, my understanding is that in parallel, you have just an incredible growth on the business side and then you've got completely different expectations from business slash product.
Erik Stenman: Yeah. I'm not sure what to answer that there.
Kuba Lang: b we we can skip this question, but it's it's more about if I could rephrase the question. so if you know just y your team and maintaining the atmosphere between eight people, then how do you carry this on when you have the team of eighty, basically?
Erik Stenman: Yeah, so. We tried to make the teams very independent so
Kuba Lang: Mm-hmm.
Erik Stenman: that they had their systems to take care of and it was an early you build it, you own it, you run it culture so
Kuba Lang: Okay.
Erik Stenman: every team were responsible for the things running
Kuba Lang: Mm-hmm.
Erik Stenman: in production. we were a bank or we became a bank so there were of course some parts of not having full access to the running system but you were still responsible for managing the running system.
Kuba Lang: Mm-hmm. Mm-hmm.
Erik Stenman: So this kept it sort of working. that you could still move quickly but then of course when you want to build something completely new or something that goes over several themes then we have the architecture board or architecture review
Kuba Lang: Mm-hmm.
Erik Stenman: board to coordinate and figure out where to put things and how to do them.
Kuba Lang: Mm-hmm. And as you're promoting and growing your team, what would you say are your top three pieces of advice that you could share with our audience?
Erik Stenman: Well, having great developers is really nice. if you can get the really good developers, then most of the things just work out by themselves.
Kuba Lang: Mm-hmm.
Erik Stenman: And then as a CTO, a lot of your responsibility is the translation between the business and the development team.
Kuba Lang: Mm-hmm.
Erik Stenman: and at Klarnaja much of my work was to to shield the development team from a business that wanted to run in thousand directions at the
Kuba Lang: Mm-hmm.
Erik Stenman: time and changing their mind and coming up with new ideas and requirements all the time so that
Kuba Lang: Mm-hmm. Mm-hmm.
Erik Stenman: was an important part
Kuba Lang: and then wha what is your secret source for recruitment? Because if we're saying that having extremely good developers is one of the tips, then how to get them? And especially in in the current times.
Erik Stenman: Yeah, current times I'm not sure, but we were very lucky then in the mid 2000 that Erlang was a pretty niche language.
Kuba Lang: Mm-hmm.
Erik Stenman: So any developer who had learned Erlang were really interested in development and programming and it was sort of a a good filter to start with. So
Kuba Lang: Mm-hmm.
Erik Stenman: we sometimes hire Java developers. And the thing is, when we hire for airline, we would get maybe three applicants and two of them would be good and one would be great.
Kuba Lang: Mm-hmm.
Erik Stenman: When we hired for Java, I'm sure there were also two good and one great, but there were 200 applicants. than to find those good and great people among the 200 much harder. So airline was sort of a secret source of finding really great people in the early days.
Kuba Lang: Mm-hmm. And now shifting back to your times before your first company and before being a student of computer science, do you recall your first experience with any type of technology? Perhaps you know, even once you were a kid?
Erik Stenman: So it started when my 10 year old sister started university and got the Texas instrument programmable calculator and
Kuba Lang: Okay.
Erik Stenman: I started programming that calculator and
Kuba Lang: Mm-hmm.
Erik Stenman: got really interested in programming so I
Kuba Lang: Mm-hmm.
Erik Stenman: finally managed to convince my parents to get me a Commodore VIC-20 and
Kuba Lang: Right.
Erik Stenman: started programming Basic and Assembler then.
Kuba Lang: Mm-hmm. Amazing. and since we talked about your secret sauce in recruitment, what would you name is your super power?
Erik Stenman: So it's sort of a three part superpower. It's pretty good at understanding technical problems quickly. So
Kuba Lang: Mm-hmm.
Erik Stenman: getting into what is the problem here. And then I'm what I call a monkey programmer. So I have a blog about different developer types. So the monkey a new problem very interesting I can make a prototype in a day solving 70 80 percent of the problem or just doing a spike and showing how things can be done but then more better programmers than me need to come in and fix all the different other aspects of things
Kuba Lang: Mm-hmm.
Erik Stenman: so that combined with an ability to talk both with the business and management and to developers to really understand the business problems and what the business want and translate between the different languages that business
Kuba Lang: Mm-hmm.
Erik Stenman: and developers use.
Kuba Lang: Okay. we're definitely going to put links not only to the blog but also to whatever you're going to name about the book. And that leads us to one of the last questions, and that is your book recommendations for our listeners.
Erik Stenman: it's hard. I read about 100 books per year. recently, what did I?
Kuba Lang: Maybe one fiction, one non fiction, and then also including, you know, things on the top of your blog.
Erik Stenman: Yeah, so fiction, I have the atrocity archives, atrocity archives and there is no such thing as the anti-mimetics division. Both of them pretty out there, strange science fiction-y books.
Kuba Lang: Mm-hmm. Mm-hmm.
Erik Stenman: that I've read recently. Deep Work by Cole Newport, I like very much. And The Creative Act by Rick Rubin. So those are two fictional and two non-fictional books. Of course, The best non-fictional book is the Beam book about the airline run time system and the best non-fictional book is the Chain. So those are my two latest books.
Kuba Lang: Yes. perfect. and both are going to be linked. And can you just tell us a little bit more about again, because it's it's yet another shift if you're becoming an author and then becoming a fractional CTO. how did that start and what was kind of your transition to that?
Erik Stenman: So by already 2010 at Klarna, it started to be more meetings and less tech. So
Kuba Lang: Mm-hmm.
Erik Stenman: I stepped down as CTO and started working with the core team and managing the core team. And we worked on the performance of the system for a couple of years because it hadn't really kept up. So I stepped down. back to closer to the tech and less management. And then in 2014, we had managed the Christmas shopping on 2013 without any performance issues and well above the
Kuba Lang: Mm-hmm.
Erik Stenman: margins. So I felt that now the system is safe enough.
Kuba Lang: Mm-hmm.
Erik Stenman: I had some Stock options coming out. So I decided to Leave the company and start my own consultancy company So since then I've been working more with things that I like. it's been a lot of AI experiments the last couple of years
Kuba Lang: Mm-hmm.
Erik Stenman: and writing of course. But it took some time. I started writing the Beanbook then in 2013 and it was published in 2025.
Kuba Lang: Okay. Quite the journey as well.
Erik Stenman: And then once that was finished, I started on my first novel. the chains.
Kuba Lang: Mm-hmm. what a story. thank you so much once again for being a guest on our podcast. I really enjoyed this conversation. and yes, hopefully we're going to get a chance to talk again in the future.
Erik Stenman: Thank you.