faisal's avatar

Faisal Ahmed

faisal

Member since

106

Total Reputation

2

Total Arguments

2

Total Votes for Arguments

Arguments and votes

3

Asymmetric visibility allows for properties that are publicly readable but privately writable. This means that while the value can be accessed from anywhere, it can only be changed in controlled, intentional ways. By making a property writable only within a private scope, you can ensure that only specific methods or functions can modify it. This reduces the risk of unintended side effects from external code, which can potentially corrupt the state of the object.

Share:
Read the RFC: Asymmetric Visibility v2 faisal avatar
faisal
voted yes
4

I really love short closure. JS solve this

Share:
Read the RFC: Short Closures 2.0 faisal avatar
faisal
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!