Why programmers work at night
Minimum price
Suggested price

Why programmers work at night

A book about programmers, by a programmer.

About the Book

What readers are saying

"My mum needs to read this book!" ~ Cubox

"Great book. Not my usual cup of tea but never the less it made me sad I don't have more time to read it every time I had to put it down. It is well written and funny remarks keep you glued to it. I literally LOL'd few times :) So if you are a programmer or live with a one be sure to read this book. It will teach you some new stuff for certain." ~ Danguba

"My girlfriend loved your book!" ~ @janhancic

"Can't wait for this book to be finished!  Programmers rock, night-time rocks (although I've been shifting into the early-morning more frequently for some reason), and I'm a big fan of biographical works.  :)" ~ Amarand Agassi

"Very interesting book. I never gave the idea of the "flow" much thought until now. As a programmer myself, I would love to master the flow of programming" ~ szahn

"Just bought your book and provided my github data. Nice initiative ! I'm gonna start reading it tonight... :)" ~ Remco Ross

"Just read your book and loved it. Made me feel normal again. Also, I found plenty of good advice in it." ~ Matjaž Drolc

Watch the talk

At Webcamp Zagreb in December 2012 I gave a talk about the book. Watch it here: http://2012.webcampzg.org/swizec-teller-why-programmers-code-at-night/

Subscribe to the Nightowls bi-weekly, here.

Why readers love this book

People who work at night get used to being called lazy slobs by their bosses and loved ones despite being more productive that way. The early bird does not always catch the worm, sometimes it meets a cat.

Why programmers work at night talks about the flow of programming, why it's easier to achieve at night and what programmers need to feel productive and keep their sanity. If you live with a programmer this book will teach you how to keep them happy, if you're a programmer yourself it will show you how to get your best work done at any time of the day, be it day or night. It will also help you avoid being That Guy when you're working with other programmers. Nobody wants to be That Guy.

This book has been based on personal experience, interviewing other programmers, and research of psychology, nutrition and related topics. Everything mentioned in the book has worked either for myself, somebody I trust, or shown to make sense in a trial. All three when at all possible.

You can read the book online, download the free sample pdf, or buy the ebook today. There's a no-questions-asked 100% money-back guarantee, so you can read it worry-free.

About the Author

Swizec Teller
Swizec Teller

Swizec is a geek with a hat.

He focuses on fixing spaghetti code produced by the rapid pace of early-stage startups and helps young teams hit their targets. He has been documenting his journey to becoming the best programmer ever since 2008 over at his blog.

My email is swizec@swizec.com, send me a line if you want to share tips for the book.

Table of Contents

  • From disgruntled developer, to founder, to burnout
  • Introduction - version 0.4
    • Keep in touch
    • Whom Book is for
    • What Book contains
    • What is not in Book
    • How finished is Book
    • License
  • Do programmers work at night?
    • It depends
    • What about other creatives?
    • Statistics
  • Why programmers work at night
    • Culture
    • The science of night owls
    • Flow
  • About flow
    • The autotelic personality
    • Is achieving flow easier at night?
    • Two types of flow and what keeps them going
    • Why is day-time particularly bad for flow?
  • A primer on sleep science
  • For people around programmers
    • Living with programmers
    • Working with programmers
  • Tips for programmers
    • Mental energy
    • Long hours
    • Routine
    • Health
    • Dealing with distractions
    • Creativity
    • Relationships

Causes Supported


free entrance / free access / free software

Kiberpipa ('Cyberpipe') is an important catalyst for the Slovene cybernetic scene and fosters creative and critical approaches in the age of an information society.

Established in 2001 as a part of the K6/4 Institute, Kiberpipa ('Cyberpipe') is an important catalyst for the Slovene cybernetic scene and fosters creative and critical approaches in the age of an information society. Operating as a cultural centre, computer laboratory and Internet café (with free wireless access), Cyberpipe engages primarily in open code programming and the recycling of computer devices, it organises workshops (for example, Linux workshops, drawing and painting in DTP with free programmes, E-mail culture, Linux video editing), lectures, and entertainment and information events. The programme also features so-called Open Dates - weekly meetings for information exchange.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub