Long classes can be split into small single-use traits
- ·
- Telegram
- ·
- Newsletter
💡 Create single-use traits to split up long classes into smaller parts
This way, all e.g. link-related logic can be contained within a single trait
💡 Create single-use traits to split up long classes into smaller parts
This way, all e.g. link-related logic can be contained within a single trait
We're writing a book, you can get it for free here. We're writing a book! Join the early access to get it for free.