Timeline for Immutable Object class in VBA – Creatable only through constructor and not via “New” keyword
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:41 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Apr 13, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
|
|
| Mar 12, 2017 at 17:06 | comment | added | Mathieu Guindon | @Mark.R I noticed you mentioned folders in your (rolled back) edit - indeed VBA's project explorer doesn't support it.. However you might be interested in Rubberduck's annotation system, which gives you any folder hierarchy you can dream of, in Rubberduck's code explorer (I manage this project). | |
| Mar 11, 2017 at 16:04 | comment | added | Mathieu Guindon |
I didn't say IsMaking was useless, I said the fact that it's an interface member makes no difference at all. You're calling it from the default (concrete) instance, not from the interface. Also please avoid editing your question in response to answers.
|
|
| Mar 11, 2017 at 14:56 | comment | added | Mark.R |
Thanks Mat, really appreciate the long and thoughtful response. I've added general comments to my post above, but I wanted to pick up on one particular thing you said - that the IMaker interface isn't accessed by any code and is ultimately useless. I'm not sure I agree - each non-default instance calls the IsMaking method of theIMaker interface of the default instance. It's the channel of communication between the default and non-default instances. Without it the IsMaking method would need to be a public member of the class. Perhaps I'm miss-understanding what you meant?
|
|
| Mar 10, 2017 at 17:48 | history | edited | Mathieu Guindon | CC BY-SA 3.0 |
added 452 characters in body
|
| Mar 10, 2017 at 16:54 | history | answered | Mathieu Guindon | CC BY-SA 3.0 |