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

VIEW PARENT COMMENT VIEW FULL DISCUSSION

I guess language makes a lot of difference.
Personally I would never create a function with more than two or three parameters, instead I would bundle them into a class.

This can seen like a lot of work but modern Ides can make it easy to do and it usually helps with understanding your problem domain better.

There is no difference in the language IMO (except Assembler and COBOL)... :-)

code of conduct - report abuse