10 - Imports
Solidity supports import statements to help modularise your code that are similar to those available in JavaScript (from ES6 on) e.g. import “filename”;
- Import Statements
- Similar to JavaScript:
import filename;
- Code Modularity
- Code Reuse
- Affects:
- Readability
- Security
- Optimizations