Asymmetric visions
Read OriginalThis article examines a new PHP RFC proposing 'asymmetric visibility' for class properties, allowing them to be publicly readable but only privately writable. It discusses the RFC's use cases and benefits but raises concerns about its overlap with the recently introduced 'readonly' properties, warning against making new language features obsolete too quickly.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser