2006
DOI: 10.1016/j.scico.2005.05.003
|View full text |Cite
|
Sign up to set email alerts
|

To use or not to use the goto statement: Programming styles viewed from Hoare Logic

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2012
2012
2019
2019

Publication Types

Select...
2
1

Relationship

0
3

Authors

Journals

citations
Cited by 3 publications
(4 citation statements)
references
References 15 publications
0
4
0
Order By: Relevance
“…MISRA guidelines do not recommend the use of goto and continue statements to promote structured programming practices. On the other hand, many studies [Knuth 1974;McConell 2004;Kondoh and Futatsugi 2006] have argued that judicious use of gotos is beneficial for many types of common programming problems. Embedded programmers still make heavy use of constructs such as gotos.…”
Section: Assumptionsmentioning
confidence: 99%
“…MISRA guidelines do not recommend the use of goto and continue statements to promote structured programming practices. On the other hand, many studies [Knuth 1974;McConell 2004;Kondoh and Futatsugi 2006] have argued that judicious use of gotos is beneficial for many types of common programming problems. Embedded programmers still make heavy use of constructs such as gotos.…”
Section: Assumptionsmentioning
confidence: 99%
“…The main result of this chapter is presented in Section 3.2.5 that proves that the translation to the normal form is not possible without adding additional variables to the programs in general. The reason therefore is that there are some combinations of statements that introduce problems similar to the goto statement in sequential programs [Dijk68,KoFu06]. Besides the general transformation, two transformations for restricted classes of synchronous programs are given in Section 3.2.6 where it is not necessary to introduce the additional variables.…”
Section: Chapter 3 Interactive Verification Of Synchronous Programs Amentioning
confidence: 99%
“…As goto statements are considered harmful for structured programming [Dijk68,Dijk72], a reduction that works without these additional variables is desired. Moreover, the introduction of these variables is often unnecessary and it makes the verification by the Hoare calculus more difficult [KoFu06]. In particular, these assignments complicate the required invariants that the user must provide during the verification.…”
Section: Comparing a Simple And A Manual Ssta Transformationmentioning
confidence: 99%
See 1 more Smart Citation