There seems to be a sort of grey area between bread and cake. I tend to think it’s bread if it’s yeast-leavened and cake otherwise, but that doesn’t work for things like gingerbread.

//