Module writing hints: Difference between revisions
Jump to navigation
Jump to search
(→Module licencing: pulbished -> published) |
(→Name collisions: sugegst -> suggest) |
||
Line 55: | Line 55: | ||
== Name collisions == | == Name collisions == | ||
Beware of exporting any names from a module that are likely to be used as local variables in loops, whatever. This is why the [[Module programming guidelines]] | Beware of exporting any names from a module that are likely to be used as local variables in loops, whatever. This is why the [[Module programming guidelines]] suggest prefixing them all with the module name, or using a struct, so that all exported identifiers are struct sub-members. |