First page Back Continue Last page Summary Graphics
Modules
Separate namespaces
- for types, variables, functions
- avoid the need for prefixed names (eg: gtk_...)
- avoid the need to prefix inside the module
Facilities to import/export names
- the module can choose what is exported
- ability to choose what to import
- possibility to alias/rename when importing
1 avoid name clashes
1 provide abstraction via information hiding (encapsulation)
Notes: