I enjoy both TV writing and novel writing, and they are very similar. The goal is to entertain and amuse the audience, and I subscribe to this P.G. Wodehouse piece of advice: "Try to give pleasure with every sentence."
I live for coincidences. They briefly give to me the illusion or the hope that there's a pattern to my life, and if there's a pattern, then maybe I'm moving toward some kind of destiny where it's all explained.
Whether I'm writing scripts or prose, the goal is identical. To give pleasure. Now whether I succeed or not is up for debate, and, mostly, I fail. But I try. I like to make things. It's a way to stay busy during one's ephemeral and confusing life.