Introduction
Extending built-in types lets you add new features to existing types, like numbers or strings, without changing their original code.
You want to add a new function to a number or string to make your code simpler.
You need to add a property to a built-in type to store extra information.
You want to organize your code by grouping related functions with the type they work on.
You want to add convenience methods to types like Int, String, or Array to reuse often.