... I don't think looping is that problematic of a feature... it beats out recursion as far as convinience goes... ok, high level collection operations and...
... In a functional language, that code to copy one array to another wouldn't exist at all. I don't see how you can say that recursion is better than iteration...
... and you keep using elipses even when it doesn't make sense... :) ... If you're used to C and you keep emulating C, then why not just use C? Usually, the...
... ok. a problem with copy operations is that I would have to go and write code to copy the various types, which would be a bit of a hassle... I do have some...
... hmm, I need to work on that. ... c is not interpreted though... I am making a language for allowing scripting and various dynamic stuff to be done, but now...
... Wow, no wonder you gave up on Scheme: you don't know how to program it. First of all, that code would have been much better written as (for-each...
... yes, this would have been better, but my point was more to show looping awkward-ness, and not point out the case for a for-each, map, or similar construct....
... But you're missing the point. For simple cases, recursion may be more awkward than iteration, but it can be abstracted into higher-order functions. For ...
... <littledanehren@y...> wrote: I wish sometimes that a small ups would be built into houses, at least to deal with minor bumps and brownouts, eg, so my...
... That... sounds... cool... ... I agree that recursion and higher-order functions are useful, but iteration can easily be used if you have either of those....
... yes. however, not all typical hardware would work with it (eg: a lot of hw, eg, fans and lights, tend not to connect the grounds). this means that,...
... Oops, I mean you'll find it's often easier than iteration. ... Is there any overhead for using that for of let instead of just making a new variable? Are...
... ok. ... well, just binding new variables is a little cheaper, but it will also leave garbage in the environment (maybe not important as typically for...
This email dialgue... keeps taking me... so long to write... especially because of... the huge number of... elipses.... ... What is the advantage of following...
... Oops, I mean it's not the correct use, it's misuse. I should really proofread these emails... Daniel Ehrenberg __________________________________ Do you...
... grr. ... many programmers will be a little less confused by the syntax. ... well, the use of extra forms, and a general "unconventional" appearance... ... ...
... yes, but this kind of thing is still done a lot though... hmm: repeatable { ... } which could behave equivalently to: while(1) { ... break; } of course, I...
... How about repeat or loop or start? Would those work? Daniel Ehrenberg __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send...
... So this is a "Language For the Masses" not a "Language For Smart People"? Michael Vanier has shown (here http://www.paulgraham.com/vanlfsp.html) that LFSPs...
... well, repeat and loop imply that iteration is the default behavior (it is not in this case...). start would almost work, except that it implies that...
... hmm... I am trying to do a mix imo... I am sticking with tradition and such, and trying to put my creativity into the workings of the interpreter (err, by...
... That's a good name. ... Well, if you're using my proposal for break and return, then it might work. Continue could be fit in by making it like continuing...
... yes. ... well, just the statement form would probably be able to help with the while issue (while is normally not usable in expression form anyways). the...
Apologies if I've overskimmed this topic... ... But goto and labels aren't good abstraction. Having started with Basic, QBasic, and VBasic, I know that goto...
... It's not any worse, but it's not any better. When it comes down to it, for (c-style) and while are really just reorganized gotos that are slightly shorter...
... poor ... man's ... have ... loops ... and ... I have while loops and goto's now... a lot of the comments related to while loops were related to things ...
... well, a lot of programmers feel tempted to "jump all over the damn place", making a horrible mess of things. and yes, goto's are less obvious to indent,...
You might as well be using "Come From" (http://www.muppetlabs.com/~breadbox/intercal-man/s04.html#4.14)... To me, I think the biggest difference between...
... err, me not like... ... wall". ... games ... have ... ok. I like the prebuilt loops myself. if anything they are terser and easier to manage than the...
... Can't the programmer enforce that himself? ... I guess they're easier to manage, but in my experience, they're not easier to read if gotos are properly...