title: Is it better to use a Class or Variables in the Signature of a Method?
body: <p>I've often wondered. In terms of "best practice" when writing a Function, be it Local or in a Module / Class, it is better to use:</p>
  
  <pre><code>Public Function WhichIsBetter(ByVal tmpUser As String, _
                                tmpPassword As String) As Boolean
      'Do something
  End Function
  </code></pre>
  
  <p>Or </p>
  
  <pre><code>Public Class User
      Public Property tmpUser As String
      Public Property tmpPassword As String
  End Class
  
  Public Function WhichIsBetter(ByVal tmpUser As User) As Boolean
       'Do something
  End Function
  </code></pre>