Programming on an already full brain

Bugs happen because people create them when they can't remember the details needed to write correct programs. Why waste the user's scarce biological cache memory when plentiful computer memory performs better? their code because that's where the biggest performance gains are possible. Programming environments should do the same. The inner loop involves figuring out what to type and then typing it. Is it possible to create a programming environment that speeds both the figuring out and the typing? Getting correct all the details of code demands lots of biological memory, frequently more than is available. But at any point in the typing of code, options are usually constrained by the legal constructs of the language, the functions and data available, and the context. Since the programmer's brain is already full of the details of the task and the algorithm, let's P