[racket-dev] for loops with interleaved escape continuations
If adding break&continue features to your fancy iteration syntax, I
propose that any uses of these features in source code be somehow very
prominent.
For example, perhaps there is a keyword that must be at the top of the
fancy iteration form, something like
"#:enable-continue-here-because-programmer-cannot-be-bothered-to-write-this-in-idiomatic-racket".
This prominence warns readers of the code to be on the lookout for
surprise control flow (like they would on the rare occasion that they
saw a "call/ec" around a loop). It also hints to newbie programmers
that they are discouraged from simply transliterating syntax from other
languages (rather than learning better control flow and structuring
techniques).
Neil V.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: neil.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20140701/e1afc4b5/attachment.vcf>