DEV Community

Discussion on: Are utils (folder where you put random stuff you don’t know where to put otherwise) a code smell?

avalander profile image

I think they are fine for functions that are too general or widely used to be included in another module and too small to warrant their own module.

Now, if half of the project files are inside the utils folder and are hundreds of lines long, maybe there's a better way to organize that.