The caning is administered by Rowntree in the gym with a long run-up ( this scene is said to be based on traditional practice at Tonbridge School ) , where scriptwriter David Sherwin was a student in the 1950s ) .
David Sherwin , the scriptwriter of If ... . ( film ) , was educated at Tonbridge School in the 1950s .