Everything is an API
Programming style, specializing in producing decoupled and reusable code.
Where does this idea come from?
§
- Its a play on 'Everything is a File'
What is 'Everything is a File'?
§
- A feature of Unix.
- Virtually the entire operating system is exposed to the filesystem.
What is 'Everything is an API'?
§
- A feature of the Qt Framework.
- Virtually the entire framework is exposed as an API.
What are the principles of a good API?
§
- Decoupled.
- Descriptive.
- Consistent.
- Minimal.
- Reusable.
- Resilliant.