Property Set
is for objects (e.g., class instances)
Property Let
is for “normal” datatypes (e.g., string, boolean, long, etc.)
More Related Contents:
- Do write-only properties have practical applications?
- Python overriding getter without setter
- What is an example of the Liskov Substitution Principle?
- What is polymorphism, what is it for, and how is it used?
- Difference between abstraction and encapsulation?
- Why use getters and setters/accessors?
- Monad in plain English? (For the OOP programmer with no FP background)
- Difference between object and instance
- What is the exact problem with multiple inheritance?
- Why can’t I seem to grasp interfaces?
- Is it possible to access struct fields from within a trait?
- HAS-A, IS-A terminology in object oriented language
- Functional programming vs Object Oriented programming [closed]
- Explanation of the UML arrows
- Where do I use delegates? [closed]
- What is the syntax for accessing PHP object properties? [closed]
- Difference Between Cohesion and Coupling
- Polymorphism – Define In Just Two Sentences [closed]
- If-less programming (basically without conditionals) [closed]
- Are there any rules for OOP?
- Getting static property from a class with dynamic class name in PHP
- C# add validation on a setter method
- Magic __get getter for static properties in PHP
- When to implement an interface and when to extend a superclass?
- Difference between value parameter and reference parameter?
- What is immutability and why should I worry about it?
- adapter-Any real example of Adapter Pattern [closed]
- In SOLID, what is the distinction between SRP and ISP? (Single Responsibility Principle and Interface Segregation Principle)
- When to use a Class in VBA?
- Overloading functions