I think it goes back to my high school days. In computer class, the first assignment was to write a program to print the first 100 Fibonacci numbers. Instead, I wrote a program that would steal passwords of students. My teacher gave me an A.
Writers who can't invent stories often substitute style for narrative. They remind me of the painter who couldn't paint people, so he painted chairs.