I think it’s a great idea having the same examples and code fragments all over the place is a bad thing. This way our documentation code snippets are guaranteed to compile and execute and can even be refactored!