Inheritance is a null property in the parent a bad practice?
I am not a very experienced programmer. So I ask.
Inheritance is a null property in the parent a bad practice?
I am not a very experienced programmer. So I ask.
.NET Framework standard container type for multi-value property?
I’d like to create a simple class property which can contain multiple values set from the outside. (Values are of the same type.)
Example of property name and contained items:
.NET Framework standard container type for multi-value property?
I’d like to create a simple class property which can contain multiple values set from the outside. (Values are of the same type.)
Example of property name and contained items:
Async properties in interfaces to cater for the possibility of expensive first-time evaluation: Is this a good idea?
First of all, sorry if this post is too long. I’ll start with the…
How did OOP evolve to include the notion of Properties
I’ve come from a C++ background and am going all out C# in my current job and I’ve just been reading a lot of Q&A about what’s the difference between public fields and properties and all the back and forth in variations and incarnations of this basic question (e.g. this SO post and all the related linked questions). All of those questions are addressed in terms of practical differences that take for granted the existence of a property system but I think it would be good to approach this subject in terms of what the designers of all the languages which decided to support properties in the first place were thinking (check out the list in the Wikipedia article here). How did OOP evolve from C++/Java to extend into what the Wikipedia article interestingly identifies as a middleground between methods and member data:
How did OOP evolve to include the notion of Properties
I’ve come from a C++ background and am going all out C# in my current job and I’ve just been reading a lot of Q&A about what’s the difference between public fields and properties and all the back and forth in variations and incarnations of this basic question (e.g. this SO post and all the related linked questions). All of those questions are addressed in terms of practical differences that take for granted the existence of a property system but I think it would be good to approach this subject in terms of what the designers of all the languages which decided to support properties in the first place were thinking (check out the list in the Wikipedia article here). How did OOP evolve from C++/Java to extend into what the Wikipedia article interestingly identifies as a middleground between methods and member data:
How did OOP evolve to include the notion of Properties
I’ve come from a C++ background and am going all out C# in my current job and I’ve just been reading a lot of Q&A about what’s the difference between public fields and properties and all the back and forth in variations and incarnations of this basic question (e.g. this SO post and all the related linked questions). All of those questions are addressed in terms of practical differences that take for granted the existence of a property system but I think it would be good to approach this subject in terms of what the designers of all the languages which decided to support properties in the first place were thinking (check out the list in the Wikipedia article here). How did OOP evolve from C++/Java to extend into what the Wikipedia article interestingly identifies as a middleground between methods and member data:
How did OOP evolve to include the notion of Properties
I’ve come from a C++ background and am going all out C# in my current job and I’ve just been reading a lot of Q&A about what’s the difference between public fields and properties and all the back and forth in variations and incarnations of this basic question (e.g. this SO post and all the related linked questions). All of those questions are addressed in terms of practical differences that take for granted the existence of a property system but I think it would be good to approach this subject in terms of what the designers of all the languages which decided to support properties in the first place were thinking (check out the list in the Wikipedia article here). How did OOP evolve from C++/Java to extend into what the Wikipedia article interestingly identifies as a middleground between methods and member data:
Is checking that a property doesn’t throw an exception a valid unit test?
I’m writing tests for the following class: