Comment on Python classes aren’t always the best solutionparentComments−moomoo111yI 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.−librasteve1yin Raku this is called role composition :-)
Comments
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.
in Raku this is called role composition :-)