re: When do you create a function or method? VIEW POST

re: Yes, too many can become a headache when trying to find if a functionality has already been implemented or simply when trying to debug a function, ...

It's really hard to tell. It's more like a process from less and longer methods (and less classes) to more and shorter, until its feels right.

How to find what was implemented? Put things on right place. So proper domain modelling, group helper methods to helper classes

I often think about methods in layers - public method is first layer. Do I need to check what called private methods do? Not so often.

code of conduct - report abuse