|
-
Jul 15th, 2016, 10:32 AM
#1
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
 
-
Jul 15th, 2016, 10:42 AM
#2
Re: Mixing class and module - your thoughts?
 Originally Posted by Shaggy Hiker
...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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|