Idea for the day, why not use a wiki as an integrated development environment (IDE)?

I.e. write code in the wiki, configure the build similarly, i.e. which pages will be compiled. Modern wiki’s have configuration management built in, so bye bye svn, git etc. (ok, wiki’s don’t handle this well enough, but again this is an idea not a real product).

The environment by itself supports cross linking, so it self documents and people find it easy to document! The compiler and automated tests can update a build/test result page! With a little thought I think a wiki could manage code better than current IDE’s and integrate the social side. I guess execution of code might be an issue, but one which some more thought would overcome. Possibly this could be integrated into Google Wave?

It’s worth some discussion and further thought - Somewhere, off to bed!