Explicit initialization function for modules #101
Labels
Area/Lang
Relates to the Ballerina language specification
status/pending
Design is agreed and waiting to be added
Type/Improvement
Enhancement to language design
Milestone
Should we allow developers to declare an explicit module init function? The module init function can be used to initialize module-level variables. Sometimes it is hard to initialize them in the initializer expression. Another use case would be to initialize the final variables conditionally.
The text was updated successfully, but these errors were encountered: