TY - GEN
T1 - Reversers - A programming language construct for reversing out of code
AU - Finkel, Raphael
PY - 2006
Y1 - 2006
N2 - This paper proposes a new programming language construct called a reverser for situations in which a subroutine performs actions that it must reverse if it encounters a failure. The reversal code stacks up as more actions are performed. A failure invokes all the reversals in LIFO order; success invokes none of them. The reverser construct avoids a common situation in the Linux source code that is currently programmed by goto statements.
AB - This paper proposes a new programming language construct called a reverser for situations in which a subroutine performs actions that it must reverse if it encounters a failure. The reversal code stacks up as more actions are performed. A failure invokes all the reversals in LIFO order; success invokes none of them. The reverser construct avoids a common situation in the Linux source code that is currently programmed by goto statements.
UR - http://www.scopus.com/inward/record.url?scp=84878048213&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84878048213&partnerID=8YFLogxK
U2 - 10.1007/1-4020-5263-4_22
DO - 10.1007/1-4020-5263-4_22
M3 - Conference contribution
AN - SCOPUS:84878048213
SN - 1402052626
SN - 9781402052620
T3 - Advances in Systems, Computing Sciences and Software Engineering - Proceedings of SCSS 2005
SP - 137
EP - 140
BT - Advances in Systems, Computing Sciences and Software Engineering - Proceedings of SCSS 2005
ER -