lets imagine I have a domain class with 10 different methods I want to call from the onBeforeInsert method.
My problem now is that with every new method Im adding to the onBeforeInsert method, I am also creating a new for loop.
Because as I learned every method should just do one thing.
Is this gonna be problematic in the future regarding perfomance?
Are you handling it differently?
Hi,
lets imagine I have a domain class with 10 different methods I want to call from the onBeforeInsert method. My problem now is that with every new method Im adding to the onBeforeInsert method, I am also creating a new for loop. Because as I learned every method should just do one thing.
Is this gonna be problematic in the future regarding perfomance? Are you handling it differently?