Structures versus classes