Results 1 to 8 of 8

Thread: Mixing class and module - your thoughts?

Hybrid View

  1. #1
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,109

    Re: Mixing class and module - your thoughts?

    No, I would not be happy with that.

    Any time you give two different things the same name you are inviting confusion. I don't even like having names that are particularly close to each other if they are going to be used in the same code. For example, if I have a single variable called Bird, then I wouldn't create a List of them called Birds. I want all my elements to be unequivocally distinct, even if it is technically possible to do otherwise.
    My usual boring signature: Nothing

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Mixing class and module - your thoughts?

    Quote Originally Posted by Shaggy Hiker View Post
    ...example, if I have a single variable called Bird, then I wouldn't create a List of them called Birds.
    Just out of curiosity, what would you call it? Due to force of habit I'd end up calling it BirdList ...

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

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