These days I’d be considering display: table or display: flex rather than floats, but there’s nothing wrong with floats, and a little bit of clearfixing never hurt anyone.
I am using TEXT-ALIGN instead of FLOAT. In a sense of the ‘number of of instructions’ I suppose you could see it that way, but the similarity ends there.
Since it doesn’t float anything, you don’t need to contain(‘clearfix’) the parent element.
Employing text alignment to achieve the layout allows for more than two elements , you could add a logo in the center, for example.
Like I said earlier, it doesn’t wrap the way a float does… this may be advantageous when doing responsive design as you won’t have to override the float declaration. When you float something to the right and it has to drop down, it will still remain at the right side of the screen, with this method it will simply drop below , but on the left side the same way justified text would wrap.