There is a second part of the patent quid pro quo deal that is often glossed over and that is "... without undue experimentation". For many ideas, the idea is enough to allow someone to reproduce it, but for a large subset of those ideas, a person skilled in the art would still have to go through undue experimentation if there is no source code available.
Source code is often the only way for someone to recreate an idea disclosed via software patent without undue experimentation.
I've always wondered - why isn't source code disclosed in a software patent? In most other mechanical inventions or even pharmaceutical ones, the type of disclosure required does include a fair bit of detail - perhaps blueprints of some sort and certainly lots of diagrams and explanations. Wouldn't the software equivalent of that be the source code, rather than, say, screenshots?
Source code is often the only way for someone to recreate an idea disclosed via software patent without undue experimentation.