Skip to main content
9 events
when toggle format what by license comment
Jun 16, 2020 at 10:01 history edited CommunityBot
Commonmark migration
Aug 15, 2018 at 6:49 history edited Deduplicator CC BY-SA 4.0
added syntax-highlighting
Aug 14, 2018 at 19:05 comment added null @ruakh hence "not every aspect" and "Not quite."
Aug 14, 2018 at 18:27 comment added ruakh You say "I disagree" as if it were a subjective thing, but it's not. Returning from inside a loop is a categorical violation of the rules of structured programming. I'm sure that many structured-programming enthusiasts are fans of minimally-scoped variables, but if you reduce a variable's scope by departing from structured programming, then you have departed from structured programming, period, and reducing the variable's scope doesn't undo that.
Aug 14, 2018 at 17:25 comment added null @ruakh I disagree that version #2 conforms to the rules more in every aspect and explained that in my answer.
Aug 14, 2018 at 16:25 comment added ruakh "Structured programming" is a term of art with a specific meaning, and the OP is objectively correct that version #2 conforms to the rules of structured programming while version #1 does not. From your answer, it seemed that you were not familiar with the term of art, and were interpreting the term literally. I'm not sure why my comment comes across as passive-aggressive; I meant it simply as informative.
Aug 14, 2018 at 15:27 comment added null @ruakh I'm not sure what to take away from your comment. It comes across as somewhat passive-aggressive, as if my answer opposes what's written on the wiki page. Please elaborate.
Aug 10, 2018 at 19:34 comment added ruakh Please see en.wikipedia.org/wiki/Structured_programming
Aug 10, 2018 at 17:16 history answered null CC BY-SA 4.0