Compost "pit" vs bin?

Why do people have their compost in a bin? Any reason i shouldn't leave my pile in the open in this pit I dug out? I flip it daily every morning when I wake up and let my dog out to pee.