to me the point of the poem is that it reminds you that there are 3 classes (30,31,feb) and the rhythm tells how many months are in each class. Remembering 4 booleans for which 4 are the 30 day months is easier than remembering 12 arbitrary integers (unrealistic worst case uncompressed memorisation technique)