DEV Community

Discussion on: Learn and use Composition in JavaScript and TypeScript

Collapse
 
koresar profile image
Vasyl Boroviak

IMHO, 1000s of things to compose is a code smell.

Collapse
 
greggman profile image
Greggman

Well you just dissed every Unity game that's shipped and all Unity devs so I guess it's you against them. Every Unity game is 1000s of things to compose.

Thread Thread
 
softchris profile image
Chris Noring

I wonder if this is a typical thing in games particularly. Have you seen this kind of composition elsewhere? I'd appreciate any code samples that show the kind of composition you describe.

Some comments have been hidden by the post's author - find out more