Last year the Pulitzer Price winning writer and professor Junot Díaz visited the city I was living in. I snuck into one of his talks he gave to the writer students in the local MFA program.

This week I came across my notes from that talk. They were short and they were primarily about the art of writing. But I feel like I need to share them with you. The notes reminded me how writing code should mainly be a source of joy, not anxiety.

***

In addition to writing his own novels, Díaz teaches writing students at MIT. One of the things he is able to sense from the students is the massive stress they have from writing. There is an intense pressure to perform well. It’s much rarer to find true joy and gratitude among the students.

These are three points that Díaz would like you to remember if you are feeling a little less joyful and a little more anxious.

First, you should play. Díaz compares writing to basketball. You can earn money from both writing and playing basketball. You can also write and play basketball just for fun. Here is one major difference between these two: it’s really hard to imagine a basketball player being afraid of the ball the same way a writer can be afraid of the typewriter. That’s because it’s so much easier for the writer to forget that there is play and joy involved in the process of writing.

Second, Díaz says that you should sometimes avoid your art culture. In this context, your art culture are your peers, critics, audiences and other relevant authorities.

Why should you avoid these things? Won’t this ecosystem make you stronger in your art? Díaz argues that your culture will try to destroy your childlike wonder and genuine love for your art. Your culture says that your art doesn’t have value if the critics don’t praise it or the public give money for it.

Third, there is no one right path. Not every writer will take the same journey. And more importantly, not every journey is suitable for every writer. There are options for you. So instead of stressing over your next move, just do something. Or don’t do anything and just play with your art.

***

When Díaz sees a student in their twenties struggling with writer’s block, losing sleep because of stress, and generally taking no joy from the fact that they get to write, he can’t but wonder where will this person be in their sixties. Will their mental state still be dictated by external validation? Will they still write from a place of misery? Will they spend the next 40 years basically torturing themselves?

The problem with being a writer is that there is no guarantee that your hard work will result in success. There is no formula for writing a best seller. There is no mind control device you can use to make people like your book.

It’s so easy to set yourself up for disappointment.