Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I haven't read any of these but they might be useful:
Some notes of Frank Pfenning.
A paper of Wirthpaper of Wirth.
A paper of Wirth.