4 ms·
I use TypeScript a lot recently, and I've been using class with static methods. No internal states. It is more of an organizing decision, and I wanted to avoid
by moomoo11 1y ago
I use TypeScript a lot recently, and I've been using class with static methods. No internal states.
It is more of an organizing decision, and I wanted to avoid DI and additional configuration up front. KISS.
- librasteve 1y agoin Raku this is called role composition :-)