views:

48

answers:

1

Looking at Category it seems that it is basically a String. I fail to see any advantages of using Category over String.
What is the difference, and why would I use Category instead of String?

+4  A: 

If you call entity.to_xml(), a category will come back as an Atom category element.

Beyond that, it's just a string.

Drew Sears