An alternative to current looping syntax
暂无分享,去创建一个
There has been a lot of discussion lately about the drawbacks of various language structures [2] and the lack of the same structures in older programming languages (Fortran) [1]. In this brief paper I propose a modest alteration to programming languages and present a simple pre-processor written in Fortran that implements the alteration.
[1] Michael A. Covington. A pedagogical disadvantage of repeat and while , 1984, SIGP.
[2] Roger R. Baldwin. The backward-directed GO TO in FORTRAN , 1984, SIGP.