<div dir="rtl"><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>من: <strong class="gmail_sendername" dir="auto">Alaa Mohamed</strong> <span dir="auto"><<a href="mailto:333alaamo@gmail.com">333alaamo@gmail.com</a>></span><br>‪Date: السبت، 24 مايو 2025 في 6:31 م‬<br>‪Subject: "Scoped Mutable Variables"‏‬<br>To:  <<a href="mailto:compiler-dev@openjdk.org">compiler-dev@openjdk.org</a>><br></div><br><br><div dir="rtl"><div id="m_4584054149010839357gmail-:yz" style="direction:rtl;margin:8px 0px 0px;padding:0px;font-size:0.875rem;overflow-x:hidden;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><div id="m_4584054149010839357gmail-:z0" style="direction:ltr;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-size-adjust:none;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif;overflow:auto hidden"><div dir="rtl">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><div></div><div></div></div></div><div id="m_4584054149010839357gmail-:yn" style="font-size:0.875rem;margin:15px 0px;clear:both;font-family:"Google Sans",Roboto,RobotoDraft,Helvetica,Arial,sans-serif"><br></div></div>
</div></div>