DEV Community

Discussion on: Learn and use Composition in JavaScript and TypeScript

Collapse
 
koresar profile image
Vasyl Boroviak

Well, you've just dissed Martin Fowler's definition of "code smell".

"code smell" != "certainly bad code"

Collapse
 
greggman profile image
Greggman

By any definition of code smell, having to look at the internals of every function you composite to make sure it's not going to conflict with any other function is the very definition of stinky code. Gees

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