The phrase "go ahead, make my day" was written by Charles B. Pierce, an independent filmmaker who is credited with "story by" in the film Sudden Impact.
At the beginning of the movie, Harry Callahan (Clint Eastwood) goes into a diner for a morning cup of coffee where he discovers a robbery in progress.