re: Coding Sidekiq Workers the Right Way VIEW POST

re: I used to agree with #1, but I've since come to realise it was (at least in my case) an overreaction. Now, my feeling is this. If you need to run ...

For small, straightroward workers, I agree with you that it could stay in the worker since we don't know how it would grow.

For workers with complex actions though, I think that #1 still applies since we already know more or less how the logic would grow, and enforcing that now could save other developers working on it in the future of having to figure out how it's supposed to be organized.

code of conduct - report abuse