At higher state of mind you do things for sack of doing or some intrinsic pleasure or even no purpose at all. G.H Hardy puts this best in his book Mathematician's Apology by describing why mathematicians do math. He mentioned, as a mathematician, he never cared about utility of its work. In fact he avoided anything that he thought could be remotely useful after many centuries. Euclid didn't created Elements to be "useful" in a practice sense. Mountaineers don't climb mountains because it benefits humanity. They climb them because they are there. I'd been kind of person in my early life where everything needed purpose and goals. It took me long time to understand and come to terms with this line of thinking. The reason I call it "higher" state of mind because I think you arrive there when you understand something very intrinsic about universe. I've written tons of code purely for sack of writing with no intent of it ever getting used by anyone. Some people try to explain it by saying that they do it "just for fun" but its akin to explaining quantum mechanics to a pre-schooler by watered down analogies.