Why is Programming Fun?

Recently, while re-organizing my bookshelf, I rediscovered a rather inspiring passage that I haven’t read in quite a long time …

The excerpt below is from the book “The Mythical Man-Month: Essays on Software Engineering”, and while the book was originally published in 1974 (before being republished in 1995), I feel it will always remain relevant:

Why is programming fun? What delights may its practitioner expect as his reward?

First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. I think this delight must be an image of God’s delight in making things, a delight shown in the distinctness and newness of each leaf and each snowflake.

Second is the pleasure of making things that are useful to other people. Deep within, we want others to use our work and to find it helpful. In this respect the programming system is not essentially different from the child’s first clay pencil holder “for Daddy’s office.”

Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles, playing out the consequences of principles built in from the beginning. The programmed computer has all the fascination of the pinball machine or the jukebox mechanism, carried to the ultimate.

Fourth is the joy of always learning, which springs from the non-repeating nature of the task. In one way or another the problem is ever new, and its solver learns something: sometimes practical, sometimes theoretical, and sometimes both.

Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures.

Yet the program construct, unlike the poet’s words, is real in the sense that it moves and works, producing visible outputs separately from the construct itself. It prints results, draws pictures, produces sounds, moves arms. The magic of myth and legend has come true in our time. One types the correct incantation on a keyboard, and a display screen comes to life, showing things that never were nor could be.

Programming then is fun because it gratifies creative longings built deep within us and delights sensibilities we have in common with all men.

This quote really hits home with me, so I shared it with my team and felt I should also share it with the community, as I imagine it will also inspire many others as well.

{ 7 comments to read ... please submit one more! }

  1. Well it is so TRUE 🙂
    You can’t be bored programming, there is always new stuff to play with, etc.
    One drawback is as you can do so much, you end up with 10.000 projects you would like to do and have no time to do them … but well that’s another story.

  2. Very inspirational! Thanks!

  3. The only way one can get bored with programming is by… not being a programmer. Nothings compares to the joy of creation, especially if the individual creations manage to go way beyond the initial expectations.

  4. The biggest attraction to programming for me was the fact that every program had line numbers and program commands were written in all caps. .

  5. I would expect a sequel as to ‘why is the internet addictive’.

  6. Thanks for sharing. These are really my reasons for choosing this career

  7. nice post
    i love more this one of larry wall:
    the three virtues of a programmer:
    Laziness ,Impatience and Hubris (Excessive pride)

{ 0 Pingbacks/Trackbacks }