Between the Wires: An interview with open source developer Sindre Sorhus
Tags: betweenthewires
Published: 2018-02-10 22:37:28

---
title: "Between the Wires: An interview with open source developer Sindre Sorhus"
published: true
tags: betweenthewires
canonical_url: https://betweenthewires.org/2017/09/04/sindre-sorhus/
---

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504556007/Headshot_-_I_m_sitting_at_a_street_food_restaurant_in_Bangkok_hmcsyv.jpg)<figcaption>Sindre at street food restaurant in Bangkok</figcaption>

## **Tell us a little bit about your childhood and where you grew up.**

I grew up in suburban area outside Oslo, Norway. When I was little, I was really interested in Legos. Every year I would get Legos for birthday and Christmas. Legos really sparked my interests in building things early on. At one point, I had a huge Lego city built into my room and it almost occupied the entire room.

&nbsp;

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504556340/Me_as_a_child_-_Building_Lego_e0enkn.jpg)<figcaption>Building Lego as a child</figcaption>

## **How did you get into programming?**

When I was seven, my family got our first computer Windows 95. I used to play a Map Blaster game where the character jumped around to solve math problems. A few years later we finally got internet access and it changed everything for me. I spent a lot of time writing in guestbooks on other people’s web pages and gathering gifs. &nbsp;One day, I got curious about how the website worked and discovered the “view source button in the browser.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504556441/Me_as_a_child_-_On_the_family_computer_checking_my_email_in_Outlook_Express_hnwpe7.jpg)<figcaption>On a family computer, Sindre was checking Microsoft Outlook Express</figcaption>

That was a mind blowing discovery for me. I could just right click, view the Source and then I could see how everything was made. I didn’t understand much in the beginning, &nbsp;but as I looked at the same thing over and over again I started to understand how it worked. This is how I started my programming journey. Ultimately, that was what sparked my interest in programming.

I made my first website when I was ten. &nbsp;It was after having looked at the source for a few years. It had all kinds of colors, a star patterned background, animated with media background music – it was one of those touches that everyone had on their websites back then. I used [Microsoft FrontPage](https://en.wikipedia.org/wiki/Microsoft_FrontPage).

One time, &nbsp;I was bored so I created thousands of nested directories on my dad’s computer and it ended up crashing the computer. &nbsp;My dad had to reformat the computer; he was impressed and annoyed at the same time. That was also how I lost my first website.

Later during my school year, I got into Flash games and we would watch a lot of Flash movies during school breaks. &nbsp;I was curious how they were made but there was never any source button. So I decompiled the swiff files, that was easy because they were not obfuscated. That, again, gave me the opportunity to learn from other people’s work. I started to modify other people’s games and redid all characters, made new enemies, added high scores. &nbsp;It was a proud moment when I realized others could actually play a game that I had glued together.

## **You spent five years in military as a front end developer and photographer. What was the web development like at that time?**

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504556672/Me_in_the_military_2_crdwy1.jpg)<figcaption>Sindre in the military</figcaption>

After graduating from high school, I was conscripted directly to the military in Norway. &nbsp;I got into the media unit where I spent most of my time in office working on the intranet. There wasn’t much to do in the evenings because we lived in the barracks so I decided to build stuff. &nbsp;But most of my experience had been copying and pasting other people’s PHP and JavaScript and I didn’t quite understand how they worked. One day, I stumbled upon Python and Django, it had great documentations and tutorials that PHP never had. I would read tutorials every day and started building things at work. &nbsp;

That is how my actual coding started. After the conscription, I planned to go traveling before college. But I got a job offer from a unit in the military named Cyber Defence Unit. &nbsp;It was intriguing so I took the offer, I ended up spending 5 years there.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557017/App_I_made_in_the_military_utzbnm.jpg)<figcaption>The app that Sindre made in the military</figcaption>

## **How did you get involved with TodoMVC and Yeoman?**

I started using GitHub around 2011 but mostly as a consumer. &nbsp;I would go around, looked at different repos and starred them because they looked fun. &nbsp;I fixed some typos in README.md files but that was about it.

One day I stumbled upon TodoMVC which helps you to select a JavaScript framework. It was a really awesome idea, although in hindsight we need a lot more advanced applications to actually solve the problems of performance testing and framework capabilities. The first thing I remembered about TodoMVC was that it had a nice logo. It seems very superficial, but that’s what got me started.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557161/logo-icon_ypfoox.png)<figcaption>ToDoMVC logo</figcaption>

&nbsp;

I liked the logo so much that I decided to look around a bit more. I noticed they didn’t really have a jQuery application so I decided to create one. &nbsp;I submitted over the weekend and got a response back from Addy Osmani who is the maintainer of the project. He merged my PR quickly which was a super nice experience for a beginner like me. I felt good that my app is now included in this really popular project. I did this for a few weeks, and Addy added me to the project which was really cool.

This really got me interested in open source. Before this, I was just a passive consumer but with TodoMVC I got a taste of maintaining a big project which was a lot of work. &nbsp;But I learned a lot from that experience. &nbsp;

A few months later, Addy went to work for Google. His first project at Google was Yeoman, scaffolding tool for modern web apps. Because we worked so well together on TodoMVC so he decided to invite me as an external contributor.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557234/yeoman-logo_jnzaod.png)<figcaption>Yeoman Logo</figcaption>

Our initial goal with Yeoman was to create a set of tools that everyone can use to create great web apps. What we didn’t realize is that it is impossible to solve everyone’s problem in one tool because on the web there are just too many use cases. Yeoman became a popular configuration that many developers created generators to extend Yeoman that suit their own use cases.

History repeats itself as well if you look at Create React App or Webpack. It starts out making this product that is supposed to solve one problem, but because everyone has different needs, problems arise. &nbsp;When you realize this tool can not cover everything so you add the configuration. &nbsp;The key is to have a balanced approach. You have to say “No and you need to know when to say “no”. &nbsp;You may disappoint some users because they have obscure use cases. &nbsp;That is the hard part of making tools, &nbsp;and it’s even more difficult in open source projects because there is so much feedback.

## **Why are you passionate about open source?**

I love open source and I think it goes back to the “View Source button in the browser. In my opinion, open source is the most effective way to build software because it enables us to build on top of each other’s work. Everyone benefits if any one person solves a hard problem. Open source lets me work with incredible people from around the globe that I would never have been able to work with otherwise. We get to work on what matters to us and focus on what’s needed by the community instead of focusing on generating revenue.

[Paul Irish](http://twitter.com/paulirish) has a great video on YouTube titled “[Ten Things I learned from the jQuery Source](https://www.youtube.com/watch?v=i_qE1iAmjFg). That’s what got me interested in reading the jQuery source code. Paul Irish was right, you learn a lot by actually doing whatever it is you want to learn how to do.

## **How about open source sustainability?**

That’s definitely a point of conflict that I’ve been thinking about a lot recently. I’ve done open source full time for about [three years now](https://twitter.com/sindresorhus/status/902945099369275393). I don’t earn any money but it would be nice to do this full time as a paid job. &nbsp;[Vue.js](https://vuejs.org/) by Evan You is a great example of how open source sustainability can work, though. He created a framework that everyone wanted and it has been used by quite a few companies. &nbsp;Other companies and individuals have incentive to invest in his project because it is useful in production. The key is to make your project dependable. I personally don’t think contributions from individuals are enough to sustain a project.

I’ve been thinking about using [Open Collective](https://opencollective.com/) so we can collect money to reward contributors and event promotions. &nbsp;Webpack has done [a great job](https://opencollective.com/webpack) there. &nbsp;I was actually against this for a long time because I was worried that there were going to be expectations for us to make a move whenever someone put money towards the project. Usually if a company invests in a project, they want the work prioritized and the issues fixed quickly.

I am currently living in Thailand and I think I would be fine with less than [1500 dollars](https://github.com/sindresorhus/ama/issues/414).

## **You have over 1000 npm packages. How do you stay so productive?**

That’s a misconception. People see the number [1000 packages](https://www.npmjs.com/~sindresorhus) and they think I’m insanely productive, but what they don’t realize is that most of those packages are small and modular. They’re pretty much done when they are published. I like to compare programming to building with Lego: I create lots of Lego bricks which can be assembled to build larger constructions. &nbsp;I use them with other packages before publishing to ensure they solve the problems. That is also why users would not submit a lot of feature requests because they are so small. If they need something more they can just build another module. &nbsp;90% of my time is spent on my biggest 10 projects.

## **What is one advice you can give to new OSS contributors when dealing with demanding and toxic people?**

I have been doing open source for six years now so I’ve developed a thick skin. I don’t think anything bothers me anymore because I like to think that I’ve experienced it all. I talk to a lot of beginners who experience some toxicity and quit. Open source is supposed to be a fun thing you do, not a cause of stress in your life.

My advice to new developers is that you shouldn’t let strangers on the internet negatively affect your mood or your drive. It isn’t worth it. If you have the option to walk away, take it – utilize the unsubscribe button. Open source maintainers need to remember that users are not paying customers. We’re providing something to them for free, on our own free time

With toxic people, you need to always be the bigger person. It sounds wrong, but what I try to do is to kill them with kindness. &nbsp;Somehow it’s worked for me for many years. For example, if someone is annoying, I’ll try to be as open and kind about the situation. I make sure never to be sarcastic or talk down to them. &nbsp;The trolls feed on your annoyance and discourse, so when it’s not there, they’ll leave you alone.

I utilize the muting option wherever it’s provided, especially on Twitter. It’s good to realize just when someone is bordering on toxic, and it’s much better to simply shut that voice and input out instead of causing unnecessary conflict.

## **You designed some logos for your own modules, they are awesome. How did you learn design?**

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557391/Favorite_logo_I_have_made_-_My_XO_project_nbefsy.png)<figcaption>XO project</figcaption>

I started by following online tutorials to make cool effects. I used to use [Sketch](https://www.sketchapp.com/), but now I use [Adobe Illustrator](https://www.adobe.com/products/illustrator.html).

It’s really fun for me to design, and I think more programmers should try it. After programming for hours, it’s nice to take a break to do some creative work in a different way.

It also benefits my projects by creating logos, because it gives the project more of a personality. Usually when you enter a repo on GitHub, you get the same text based things: a header, some introduction and README.md. It is nice to spice it up with some graphics.. It turns out people are more likely to use the project if there is a logo. For example, [Vadim Demedes](https://github.com/vadimdemedes), a developer from Ukraine, submitted this [pull request](https://github.com/avajs/ava/pull/30) right after AVA’s release. &nbsp;Vadim later became an AVA team member. He told me he got interested in AVA because of its nice logo.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557592/Favorite_logo_I_have_made_-_My_AVA_project_tyrjte.png)<figcaption>AVA project logo designed by Sindre</figcaption>

I didn’t really know much about Thailand at all. When I worked in the military obligatory service, I planned to travel. I got an offer and ended up staying for another four years. I just went with the flow, because life happens.

One day, I was actually preparing a phone interview with Google, I just decided that if I’m ever going to travel, it would be now, otherwise, it would never happen. So I canceled the interview and submitted my resignation at work the day after. I bought a one-way ticket to Thailand and that was it.

I did backpacking for half a year in South East Asia, and that’s where I met my girlfriend. I eventually settled in Thailand because it was my favorite. I love its rich culture, friendly locals, and food. I have been living in Thailand for two years now.

I work out of local coffee shops three days a week because I like the interaction with people. Otherwise, from nine to six I do a lot of open source coding and maintenance, sometimes my side projects. &nbsp;On most days, I get more than 20 pull requests and tons of issues to fix. In the evening, I spend time with my girlfriend Im; we both love the spicy street food at night markets. Sometimes duty calls and I find myself back in front of the computer late at night.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557736/Me_in_Thailand_-_Me_and_my_girlfriend_at_Koh_Mak_in_Thailand_svzjud.jpg)<figcaption>Sindre and his girlfriend Im at Koh Mak, Thailand</figcaption>

I didn’t learn the Thai language because while I am good at programming languages, spoken language is much harder than any programming language, and Thai is especially hard. &nbsp;My girlfriend, on the other hand, is fluent in Thai, Russian, English and Swedish. At some point, I want to learn Thai and other languages, but I’m not pressed for time.

## **What motivated you to start AVA project?**

I was using [Mocha](https://mochajs.org/) a lot because I made a lot of modules that had to be tested. &nbsp;I wasn’t really happy with how it worked. Mocha injects some global objects but they are not defined anywhere. &nbsp;Because I was doing it in Node.js, I had a lot of async APIs and it was not very convenient to do with Mocha.

I wanted something simpler and more optimized for my use case. So one weekend, I decided to work on it, and by Sunday evening I published 0.0.1 version for [AVA](https://github.com/avajs/ava) on npm. Even though JavaScript is single-threaded, IO in Node.js can happen in parallel due to its async nature. AVA takes advantage of this and runs your tests concurrently, which is especially beneficial for IO heavy tests. In addition, test files are run in parallel as separate processes, which allows for even better performance and an isolated environment for each test file.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504557592/Favorite_logo_I_have_made_-_My_AVA_project_tyrjte.png)<figcaption>AVA project</figcaption>

Because I didn’t have time to fix bugs and I only wanted to use it on my own projects, it was private. After a year and a half, I finally made a logo for AVA, cleaned up the repo, wrote lots of documentations. Then, I published the project. &nbsp;It has grown a lot, because I guess lots of developers ran into similar problems that I had.

Most of the users are really happy because we get tweets on the project all the time. They really like how simple the syntax is and how easy it is to get started. I just made it to scratch my own itch, but it turns out that other people had the same problem and liked my solution

Nowadays, I spend more time on managing the project because there are so many new issues and pull requests every week, which leaves me very little time to code.

## **Why did you decide to get into macOS development?**

I did a little bit Objective-C programming but I didn’t have a great experience. So when [Swift](https://developer.apple.com/swift/) came out, &nbsp;I decided to give it a try. This January, I got an idea for a Mac application, and I had some free time so I jumped right in. That is how I usually learn new things. &nbsp;It’s very spontaneous. I begin with a desire to make a product, then I figure out what skills I need to make that product then I learn them. The idea comes before the planning.

Swift is a lot harder to learn initially than JavaScript, but Swift shines because it is strongly typed. &nbsp;When you compile, it is much more unlikely to crash if you use optionals correctly. &nbsp;The only thing I didn’t like about Swift is that you still sometimes have to interact with the old APIs in C.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504558005/1-3dFj7ZOzwkTS2Plxadx2vA_gdg1tz.png)<figcaption>Lungo project logo</figcaption>

I wrote a few productivity and utility apps. [Lungo](https://blog.sindresorhus.com/lungo-b364a6c2745f) is a menu bar app that I wrote and you find it on the [App Store](https://itunes.apple.com/no/app/lungo/id1263070803?mt=12). The other one I wrote is [Battery Indicator](https://itunes.apple.com/us/app/battery-indicator/id1206020918?mt=12).

## **What is your plan for next year? Are you planning to go full time or consider other ways to become financial sustainable?**

I have been living off savings in the last three years and doing open source software. That’s a lot easier in Asia but it doesn’t last forever. Ideally, I would like to do open source in a financially sustainable way but that’s difficult, so I will probably do some contracting next year.

I have tried a few different things. One thing I did is to ask for support in [GitHub README.md](https://github.com/sindresorhus/awesome-nodejs) file. I wouldn’t call it an ad but more of a small banner. I made a little bit of money but it is far from being able to sustain me.

I might give [Patreon](https://www.patreon.com/) a try.

## **What are some of the things you wish to improve in JavaScript ecosystem?**

In my opinion, the JavaScript ecosystem is great already but we still have a lot of quirks to work around on browser side of things. There are so many projects with this giant build script just to get a simple app out there, &nbsp;that is why I love [Node.js](https://nodejs.org/en/). &nbsp;

The problem with browsers is that they are very complex. You have the network to think about, you need to optimize for performance, you have lots of different use cases, frameworks to choose from. Everyone tries to simplify it, but then you end up being too opinionated, then you add configuration but there are too much boilerplate. I don’t see an easy path forward unless you fix the actual platform instead of creating lots of solutions on top of it. One thing I think will improve the situation is when we finally get modules in the browser. You may not need a build step for everything then.

## **Why are JavaScript developers obsessed with unicorns?**

The whole pony movement started with [Django](https://www.djangoproject.com/) community actually. When you started asking the features you want, developers would say “I want a faster HTTP parser, or “I want ORM that just works. &nbsp;One day, one of the core devs on Django mailing list responded to one of the feature requests with “no, you can’t have a pony! The whole unicorn movement started with that feature request denial.

There’s even a [website](http://www.djangopony.com/) dedicated to the lovable pony.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504558225/2844663076_225ba15523_mantg2.jpg)<figcaption>Django, the web framework for ponies with magical powers.</figcaption>

I don’t remember exactly how it spread to the JavaScript community. It was one of those things that just happened on its own. Having something as fun and silly as unicorns helps me work through programming and OSS and ups my morale. The same goes for silly gifs.

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504558315/18j4sxio5xczrjpg_mzjza4.jpg)<figcaption>ESPN.com went magical with Konami code. (source: http://kotaku.com/5230185/the-konami-code-makes-espncom-magical)</figcaption>

&nbsp;

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504558472/sindrewebsite_xcnvfk.png)<figcaption>Sindre’s website</figcaption>

![](https://res.cloudinary.com/viviancromwell/image/upload/v1504558737/0-gZEJccbl0ynL0wCB_ktxtfr.jpg)<figcaption>Sindre’s laptop homescreen</figcaption>

This project is made possible with sponsorships from&nbsp;[frontendmasters.com](https://frontendmasters.com/),&nbsp;[egghead.io](https://egghead.io/),&nbsp;[Microsoft Edge](https://www.microsoft.com/en-us/windows/microsoft-edge)&nbsp;and&nbsp;[Google Developers](https://developers.google.com/).

![](https://betweenthewires.org/wp-content/uploads/2017/08/4partners.png?x64656)



_This post was originally published on [betweenthewires.org](https://betweenthewires.org/2017/09/04/sindre-sorhus/)_