Grammatical gender lets you be very precise with fewer words. I can say in German with just 4 words both "I am on the hill" and "I am passing over the hill" by just changing the case of one word. It's the same sentence but only one letter changes and it completely changes the meaning of the sentence.
German was designed by a programmer.