Is it best to create sharepoint lists in a feature using xml (schema.xml) or using custom code which create the list using the API?
I ask because I would expect the declarative approach to be the easiest, but according to all tutorials I have found it seems I have to create an enormous schema.xml file by copying and modifying an existing schema.xml or by generating it automatically from an existing list. The schema.xml seems to contain a lot of redundant data.
Edit: I'm talking about a custom list with custom columns.