Short Article
A Better Syntax Design For Programming Languages To Avoid
Inconsistencies Problems
ESSAM M. ARIF*
Department of Electrical and Computer Engineering,
College of Engineering,
Umm Al-Qura University, P. O. Box 6240, Makkah,
Saudi Arabia
تصميم أفضل لقواعد البناء في لغات البرمجة بقصد تجنب
المشاكل المتناقضة
|
على مصممي لغات البرمجة أن لا يقدموا فقط قواعد
بناء إلى المطورين، وإنما يجب عليهم تصميم قواعد بناء مثالية تعالج المشاكل
المؤثرة على تصميم اللغة. وبملاحظة المبرمجين المستخدمين للغة Programming
language designers should not only provide syntax to the developers, but they
should design a useful syntax idiom to remedy some problems that impact
language design. Observation using C++ programming language showed us that
programmers could easily fall into inconsistency problems such as neglecting
initialization, imprecise definition, and unwrapping. Comparing these
problems with Al-Risalah object-oriented programming language showed us that
the language's syntax is capable of avoiding these problems. Keywords:
Al-Risalah language, object oriented programming, language design,
syntax, Inconsistencies
problems. |