Best Practices
Best Practices
- Use Standard Locations - Follow XDG or
$HOME/.app-name - Initialize Early - Call init before any operations
- Handle Permissions - Use 700 for private data
- Clean Up Regularly - Remove old temp/cache files
- Rotate Logs - Prevent unbounded growth