I thought the ruling was spot-on.
It has always been a tax. For political reasons, the Obama administration didn't want to call it one.
However, legally, a tax that you impose on people when they don't do something is a tax. No other way to look at it.
It was, however, struck down on Necessary and Proper and Commerce Clause. However, those arguments didn't really matter.