We used to speak of a great Unix systems programmer as someone who could write device drivers with cat and have them compile and run the first time.
Obviously, there's no way to go back and edit anything mid-stream, you have to write the whole thing out in one shot.
$ cat foo bar > baz
will join the files foo and bar together into a single file called baz