Discussion Overview
The discussion revolves around the existence of two different ways to end a 'Do' loop in Fortran: 'End Do' and 'Continue'. Participants explore the historical context, advantages, and personal preferences regarding these syntax options.
Discussion Character
- Debate/contested
- Technical explanation
- Conceptual clarification
Main Points Raised
- Some participants note that the DO ... CONTINUE form is older than the DO ... END DO form, which was introduced in Fortran 77.
- One participant suggests that the newer syntax (DO ... END DO) is preferable for modern programming practices.
- Another participant argues that DO ... CONTINUE may have performance advantages due to how Fortran compilers handle memory and jump statements, although the difference in computation time is described as small.
- A participant mentions that using line labels with CONTINUE statements was common in older practices, but the END DO syntax is seen as more intuitive and clearer for program structure.
Areas of Agreement / Disagreement
Participants express differing opinions on the advantages of each syntax, with no clear consensus on which is definitively better. The discussion remains unresolved regarding the overall preference and performance implications of the two methods.
Contextual Notes
Some claims about performance differences depend on specific compiler implementations and may vary based on the context of use. The discussion does not resolve these technical nuances.