Why did you use the word profit on the title? Did I miss something?
I think the phrase "for fun and profit" recurs in various contexts, so it was just itself for fun.
"for fun and profit" is a common English idiom used to describe things that are both interesting and potentially earn money. Since this is stackoverflow, they earn money with this tech and features of the site.