Limit to variables passed to a function

Blitz3D Forums/Blitz3D Beginners Area/Limit to variables passed to a function

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

As I understand things, the best way to use a function is to keep your function tight, as in, do only one or two things, but do them well. Passing a boatload of parameters to a function seems, oh, I dunno, defeating the whole point of the simplicity of a function. Technically, I guess, there is no reason you can't do 1000+ things in a function, but it seems to me that it is more efficient and effective to limit what a function does. If you need more functionality (pun intended), create more functions, one per job to be accomplished.