Should I be requiring modules from other modules? Is it bad practice? (using Knit)

So let’s say I have a WaveService, I want this WaveService to call a function inside of the SpawnService called “StartSpawning” and also “StopSpawning”.

Is it better practice to be using some sort of a return value in my main script (bootstrapper) to determine whether or not to call the function or should I just directly require and call SpawnService from inside the WaveService?

555fe8ea98af0c8d677bc200ab8e71d3

I think you should look into this thread to get some insight. But yeah I would suggest going with your first method.