CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Nov 2003
    Location
    Australia
    Posts
    137

    Modules versus Class Method

    I was talking with another vb programmer who suggested something to me.

    At the moment I use a common module to set up global variables ( public rather than dim/private)
    This is mainly for flag switching, controls such as recordsets, connections, passing on file position info, etc.

    It was suggested that using class methods would be more efficient?
    Especially in the process of releasing resources.

    My guess is that class methods are part of object oriented methodology, and it presents a different way of coding logic?

    Has anyone gone down the object oriented approach, or know a bit about class methods?

    I am curious to learn some more.
    Maybe object oriented programming is more powerful and produces better results? ?
    Last edited by T2T2; April 27th, 2004 at 07:31 AM.
    TT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured