Elektrine lite

← Feed

@RedFrank24@piefed.social

2026-01-30 14:12 UTC

I'm not sure what you mean? Doing composition over inheritance is considered good practice across the board, regardless of whether it's frontend or backend.

Replies (1)

  • @aaaaaaaaargh@feddit.org 2026-01-30 22:08

    True but due to the framework in use it's more or less applicable and I can't think of a single commonly used backend stack that's relying on composition whereas I know a bunch of frontend stacks. I guess composition is handy for widget trees so that's why you see it more often in frontend apps.

    Open ##2753403