With few exceptions, I have almost never been paid to work on code that turned out to be something I was proud of. This is on of the reasons I dropped out of pro dev, despite it being easy money.
You can see it on GitHub for now: https://github.com/gulkily/RocketScience
I love this.
I recently posted a somewhat detailed comment about my practice, and linked to even more writing about it, which can be seen at this address: https://news.ycombinator.com/item?id=31077742
It depends whether you're a true craftsman, a capitalist, or somewhere in between.
I've seen some ugly crap code that made loads of money. Still pig lipstick imho.
Revenue was probably the wrong word. Is it doing what it was intended to do? Does it do it well? That’s the beauty, not what it looks like in a text file.
(not a craftsman, not a capitalist, closer to a nihilist utilitarian with a pinch of hope)