-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Milestone
Description
@Robbepop and I went back and forth over this originally and settled on Composite and Variant as non-rust specific names for struct and enum types.
However I think this naming is slightly awkward in places, especially when writing code for a "variant" type which itself contains "variants".
So I think we should just use the enum and struct terminology, people understand what they are and the code will be easier to read/write. Also that is the terminology used in the SCALE defitions: https://substrate.dev/docs/en/knowledgebase/advanced/codec#enumerations-tagged-unions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels