Abstract
AbstractSome recent papers provide a psychological evaluation of two conditional constructs similar to those occurring in some popular computer programming languages. The findings indicate that the if… then… else… form is superior to the branch‐to‐label approach but that the former is not without disadvantages. The papers propose an alternative construction which has been evaluated and found to be superior to both the aforementioned styles. It is claimed that the preferred construct is not available in any language in practical use.This paper applauds the work done by these experimental psychologists and supports their conclusions but suggests that improvement of their favoured construct is possible. Further, it is shown that there is a widely available programming language which not only provides a construct closely resembling their own but also accommodates the improvement.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.