<div dir="rtl"><br>Dear OpenJDK Reviewers and Community,<br><br>I hope this message finds you well.<br><br>Please find attached my draft Java Enhancement Proposal (JEP) titled<br>"Scoped Mutable Variables" (JEP XXXX), which introduces a new variable<br>declaration modifier scoped. This modifier allows variables to be mutable<br>exclusively within a limited lexical scope (such as inside if, for, or<br>while blocks) without affecting the variable?s value in the enclosing or<br>global scope.<br><br>This proposal aims to reduce unintended side effects caused by variable<br>mutations in nested blocks, thereby improving code safety and readability<br>in large-scale Java projects.<br><br>I would appreciate any feedback or suggestions you may have on the design,<br>naming, integration approach, or any other aspect of the proposal.<br><br>Please find the full proposal text attached (or below).<br><br>Thank you very much for your time and consideration.<br><br>Best regards,<br>Alaa Mohamed<br>[ GitHub - alaa-333/scoped-variable-jep<br><<a href="https://github.com/alaa-333/scoped-variable-jep.git" rel="noreferrer" target="_blank">https://github.com/alaa-333/scoped-variable-jep.git</a>> ]<br><br>[ LinkedIn :<br><a href="https://www.linkedin.com/in/alaa-mohamed-1468a3304?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BOH8SwytOQoO2HCH0VxvdBA%3D%3D" rel="noreferrer" target="_blank">https://www.linkedin.com/in/alaa-mohamed-1468a3304?lipi=urn%3Ali%3Apage%3Ad_flagship3_profile_view_base_contact_details%3BOH8SwytOQoO2HCH0VxvdBA%3D%3D</a><br>]<br>Also for more details : Java Enhancement Proposal (JEP) (1).pdf<br><<a href="https://drive.google.com/file/d/1P-k9XfpRzLdnuOYUpBUFfPaHBGWHjM9z/view?usp=sharing" rel="noreferrer" target="_blank">https://drive.google.com/file/d/1P-k9XfpRzLdnuOYUpBUFfPaHBGWHjM9z/view?usp=sharing</a>></div>