News for hackers. Stuff that matters.
Re:Some thoughts on hylang (2017) by dragonwriter on Thursday March 21, 2019 @09:07AM (#19451819)
> return/if/while/break/continue actually work in Hylang. Common Lisp doesn't have these. Scheme purists won't let you have them.

Common Lisp does have them, as does. Scheme purists will let you have pretty much whatever imperative control structures you like (that's what macros are for), but you would be right if you said that none of the Scheme standards mandate simple equivalents for all of those (though since Scheme looping is usually recursive—which is perfectly imperative—“break” is usually just not recursing.)

> The fight against imperative programming has come so far that we banned not just goto but every commonly used control flow primitive.

Well, they weren't banned, Hough of course you won't find them in pure functional languages like Haskell. But CL and Scheme and Lisp-family languages with strong roots in those have robust imperative controlled structures and the foundations for building more if you need them.

There are no comments on this comment yet.