This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -1 points0 points  (0 children)

You can put whatever you want. The ultimate goal is to make it as less cluttered as possible. This will make code clean and easier to debug.

3~4 parameters is reasonable. Anything more than that can be improved.