Modularity & System
A script is rarely a single file. To build scalable applications, code must be organized into logical units and spread across multiple files.
Aegis provides a robust module system:
- Namespaces: Grouping related logic to avoid naming conflicts.
- Imports: Loading code from other files with caching and scope isolation.
- Error Handling: Managing runtime exceptions gracefully with
try,catch, andthrow.