Memorizing is not useless at all. Here is a few examples:
In order to sing a song, you need to memorize it.
If you play poker, you can memorize useful probabilities, because you don't want to perform calculations all the time.
As a sys admin, you need to memorize commands and their syntax.
The list is endless.