title: Good way to pass many variables to function?
body: <p>When one has a function, which needs many specific variables when called, what is a good way, to pass them?</p>
  
  <p>Should one always pass all variable explicitly? How about storing them in structs (or objects)? But somehow I think, this makes things a bit obscure, as these structs/objects have to be well defined to make sure, they have all the fields, when handed in to the function in question.</p>
  
  <p>Also probably local variables are accessed most quickly, whereas adressing struct fields might be slow in a loop...</p>
  
  <p>Or is it a good thing to run an external script where everything is defined global (but even in this case on has to make everything available to the function using the <code>global</code> keyword)</p>