Writing code is a really fun creative process:
1. Conceive an exciting and useful idea
2. Comprehend the idea fully from its top to its bottom
3. Translate the idea into specific instructions utilizing known mechanics
4. Find the beautiful middleground between instruction and abstraction
5. Write lots and lots of code!
6. Find where your conception was flawed and fix it as necessary.
7. Repeat steps 2-6 until the thing works just as you dreamed or you give up.
It's maybe the most fun and exciting mixture of art and technology ever.