The properties tag has no wiki summary.
5
votes
2answers
92 views
Property proper naming to represent string starting with number
Looking at some camera metadata on Windows File Properties there are (along with a few more) two Properties named Focal length and 35mm focal length.
I'm developing software that will make use of ...
0
votes
5answers
334 views
Does “Property” in C# cost much?
I have a class created in some namespace, like SomeNameSpace.SubNameSpace.StaticClassName
Here is a code snippet from other code file where I want to use this class many more times, so I created a ...
4
votes
1answer
229 views
JavaFX - the right way to use Properties with domain objects
JavaFX has provided a bunch of new Property objects, such as javafx.beans.property.DoubleProperty which allow you to define fields which can be automatically observed and synchronised.
In many JFX ...
1
vote
1answer
706 views
Ongoing confusion about ivars and properties in objective C
After almost 8 months being in ios programming, I am again confused about the right approach. Maybe it is not the language but some OOP principle I am confused about. I don't know..
I was trying C# a ...
8
votes
1answer
1k views
Properties under ARC: Always or public-only?
After reading an article humbly named "The Code Commandments: Best Practices for Objective-C Coding" by Robert McNally a little less than two years ago, I adopted the practice of using properties for ...
-5
votes
5answers
2k views
Function like C# properties?
I've been thinking about how C# properties work and could work.
I know the purpose that C# properties were originally designed for, which is certainly useful. However instead in this question I'm ...
0
votes
1answer
401 views
Reference public exposed property or private field in other parts of a class [duplicate]
Possible Duplicate:
Private variable vs property?
I have a public property with a get and set accessor. Associated with this property is a private field.
Is it best practice when ...
5
votes
5answers
292 views
Using a SetProperty method to prevent accidental changes to a property
Is it good/bad practice to do the following:
public class MyClass {
public MyType MyProperty { get; private set; }
public void SetMyProperty(MyType myProperty) {
MyProperty = myProperty;
}
...
3
votes
2answers
1k views
Customer wants to modify the .properties files packaged in our WAR file
I have a customer who wants the ability to modify the .properties files packaged in the web applications WAR file so that they have the control to modify environments at settings. They will be ...
