Encapsulate globally accessible data, such as common blocks, within modules. This approach allows for controlled access interfaces, improving code readability and minimizing side effects from global data storage.
-
PWR073: Transform common block into a module for better data encapsulation.
-
PWR069: Use the keyword only to explicitly state what to import from a module.
-
Planned: Minimize mutable module variables by passing data as procedure arguments.
-
Planned: Privatize mutable module variables and add procedures for more controlled access.