No matter what language class you were in, your teacher likely implemented some elements of Grammar Translation. Grammar Translation methods can be extremely helpful in the explicit teaching of grammar concepts, sentence structure, or vocabulary.
When I was at the start of learning a language met teachers would implement many forms of grammar translation and it would help stick it in our minds more and be able to recognize different sentences and words.