No person shall maintain or construct any fence composed in whole or part of barbed wire, or with any similar material designed to cause injury to persons, or any wire charged with electric current anywhere within three feet (3') of any public place, street, alley, sidewalk, park or other public way. (M.C. 1963, § 11.119)