Basically you come up with the fictional idea and you start writing that story, but then in order to write it and to make it seem real, you sometimes put your own memories in. Even if it's a character that's very different from you.
I was familiar with that and 'Rio Bravo.' 'Rio Bravo' was what John Carpenter did, that brilliant move of taking a western and turning it into an urban flick. And from there you got, you know, all the cop genre movies of the time.