atom
atom copied to clipboard
API and logic for optional or not-optional members?
trafficstars
- If defining a member is optional what syntax is used?
- If a member must be defined when constructing an instance, what syntax specifies this?
- If a member is optional and no default value has been specified what happens?
Atom does not generate automatically an __init__ so by default you can always create an instance. Extending the API to generate
meaningful init by default is on my mind but I do not have a concrete plan yet.