Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
I am a big fan of Tintin but I remember Tin Tin and Milú (not Snowy)... On Fri, Dec 12, 2008 at 3:31 PM, Bruce Robertson b...@nwlink.com wrote: Oh, yes indeed ! old people of any age ! from 7 to 77, like Tintin... (if you're old enough to remember Tintin and Snowy) Wasn't that Rin's last name? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Dave Cragg wrote: I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text I should agree with Dave's point. Especially in countries, where English is not native language like Lithuania and Bulgaria ;-) or take the major part of Europe, where kids do not speak English yet, the assumption that English like language is easier to learn as a programming language is wrong. It might be true if it were Lithuanian-like, Polish-like, Russian-like, Czech-like, Finish-like, Bulgarian-like, Georgian-like or Chinese-like (outside Europe) though. On the other, learning Revolution might help kids learn some English. That's a good point! What we were taught at school was Fokal (sounds bad, and I doubt anyone on this list has heard anything about this :-) ), later Pascal, but as far as at that time PC was a very rare thing outside the school, I practiced most concepts of programming by writing programs for a programmable calculator MK-52 (likely not known outside the former ussr) and the language was somehow similar to assembly - sets of instructions, pushing and popping numbers from stack (memory, nothing in common with Revolution stacks), registers. So those who proposed assembly might well be right as well.. At the university we were taught Pascal/Delphi. Life forced to learn HTML/Javascript and finally Revolution RAD was a real discovery, but at that point I was not a kid anymore!.. So if kid is motivated to learn programming he will learn anything he has an easy access to. So the question would be - do kids have easy access to Revolution ? Depends on their parents :-).. Best regards! Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Dave Cragg wrote: I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text Sorry for possible double posting (my first attempt went in html and I hope it wont appear on this list :-) ). I would like to agree with Dave's point. Especially in countries, where English is not native language or take the major part of Europe, where kids do not speak English yet, the assumption that English like language is easier to learn as a programming language is wrong. It might be true if it were Lithuanian-like, Polish-like, Russian-like, Czech-like, Finish-like, Bulgarian-like, Georgian-like or Chinese-like (outside Europe) though. For example if we translate put 3 into field Boo of card Mano of stack Programa into correct Lithuanian it should look like įdėk 3 į krūvos Programa kortos Mano lauką Boo.. So similarity to whatever spoken language is completely not a point to the most of children on this Earth . On the other hand, learning Revolution might help kids learn something about thinking in English. And this is a very good point! What we were taught at school was FOCAL, I doubt anyone on this list has heard anything about this. Later Pascal, but in that time PC was a very rare thing outside the school. Those who were interested practiced most concepts of programming by writing programs for programmable calculators like MK-52, etc.. likely not known outside the former ussr, and the language was somehow similar to assembly - sets of instructions, pushing and popping numbers from stack (memory, nothing in common with Revolution stacks), registers. So people who propose assembly might be right as well.. At the university we were taught Pascal/Delphi again. Life forced to learn HTML/Javascript and finally Revolution RAD was a real discovery, but at that point I was 10 years past my childhood and already had my own money to spend for Revolution ;-). Conclusion: if anyone is motivated to learn programming he will choose something he has an easier access to. Do kids have easy access to Revolution ? It depends on their parents I think... Best regards! Viktoras ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Reposted as forgot to title the posting - sorry, JRM. viktoras didziulis wrote: I should agree with Dave's point. Especially in countries, where English is not native language like Lithuania and Bulgaria ;-) he is exactly right. The only 2 things that can be said in RR's favour (as opposed to PASCAL and Co.) are: 1. the programming language can (but doesn't always!) resemble a real, spoken language. 2. objects 'walk around with their own code' (c.f. Visual Basic 5). I teach an intro to RunRev (3 x 90 minutes) as part of a Summer of Fun English course (sorry about the awful title, but what else do you call that sort of course?)for kids who already have a fair bit of English. Without a modicum of English the kids would be lost. As a experiment, I got BBC BASIC running inside some BBC Micro emulators [ http://www.stairwaytohell.com/index2.html ] and got some kids going with that. Their only, initial objection, was that they had become dependent on a GUI and felt funny with a command line: after a few gruff Grow Ups they got on with things. Now they preferred RR, but only from the point of view that they could make visual programs; they didn't really see the programming language as particularly easier. Of course if one wants one can go all the way to those programming languages where all one does is drag building blocks around a screen. However, my experience teaches me that while kids can rapidly get a blood-rush to the brain by getting working 'programlets', they learn little or no transferable skills; take them from that and shove them in front of a machine with RR, or BASIC, and they are stuck fast, back at ground zero. What has to be admitted by the I want it now, and preferably with no effort at all brigade is that everything comes at a price: and I, for one, don't want to spend my old age in a world inhabited by people who can't or won't make a mental effort for anything. All the members of this Use-List have dragged themselves through the learning curve of at least one programming language (err, what do you call it again; RevTalk, Revolution, Transcript, and so on); and, like it or not, that is a necessary part of the process of understanding how programming languages work. And, without that sort of understanding, however user-friendly a language/RAD is, sooner or later one is going to come up against a socking great mental wall. I usually spend the first 60 minutes with the computers turned OFF, and play around with lots of yoghurt pots and beans (the Container Metaphor); and talk a lot of rubbish about production lines in factories. Plus, prior to that, throw slide-rules at the kids so that Mathematics moves out of the computers and calculators into their brains. I am sick to death of people who go on a course and then inform me they can program computers because they can read their e-mail, type a letter in Word, and run up a spread-sheet in Excel. Frankly, 'programming' by dragging virtual LEGO blocks around is not programming; unless, of course, you consider the ability to knock up a power point presentation the peak of programming skills! As every Bulgarian child, supposedly, is taught English at school (and the 'supposedly' is how I make my money), there should not be a particularly high barrier for teenagers to jump over with RR. The barrier, in Bulgaria, comes from the fact that educational-method is still rooted in the 'swot-and-regurgitate' school of thought that Britain abandoned in the 60s. This stifles the type of abstract and creative thought that is needed for good programming (try and make a concrete model of a for-next loop). However, in Bulgaria there is hope, as education can move into the space that in Britain (amongst other places points-west) was abandoned for the effortless pap that now passes for education. Sorry about the rant; but I do feel extremely strongly about the above points. sincerely, Richmond Mathewson. A Thorn in the flesh is better than a failed Systems Development Life Cycle. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
On 12 Dec 2008, at 00:48, Judy Perry wrote: I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text I'd argue that the second is more visually representative of what we are trying to express. The dot becomes a joining symbol which is more easily remembered than the strange syntax of space + of + space. And what on earth is the all about? Perhaps I'm saying that Rev is a great language for old people to take up. :-) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Señor diablo, The child in me agrees; and I was always better at math than reading. Joe Wilkins On Dec 12, 2008, at 3:52 AM, Dave Cragg wrote: On 12 Dec 2008, at 00:48, Judy Perry wrote: I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text I'd argue that the second is more visually representative of what we are trying to express. The dot becomes a joining symbol which is more easily remembered than the strange syntax of space + of + space. And what on earth is the all about? Perhaps I'm saying that Rev is a great language for old people to take up. :-) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Maybe we need a synonym for the ... of me - how about something like my? put my text into xx set my hilite to true etc. On 12 Dec 2008, at 12:08, Joe Lewis Wilkins wrote: Señor diablo, The child in me agrees; and I was always better at math than reading. Joe Wilkins On Dec 12, 2008, at 3:52 AM, Dave Cragg wrote: On 12 Dec 2008, at 00:48, Judy Perry wrote: I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text I'd argue that the second is more visually representative of what we are trying to express. The dot becomes a joining symbol which is more easily remembered than the strange syntax of space + of + space. And what on earth is the all about? Perhaps I'm saying that Rev is a great language for old people to take up. :-) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Jimmieson p...@liverpool.ac.uk (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
It all needs a little context to set it off. Do you explain that the '.' is a joining thing? What 'text'? Letters? A page? The 'value/meaning' of all words are context driven, so either start with an assumption or create one. text-me Cheers, Luis. On 12 Dec 2008, at 12:11, Phil Jimmieson wrote: Maybe we need a synonym for the ... of me - how about something like my? put my text into xx set my hilite to true etc. On 12 Dec 2008, at 12:08, Joe Lewis Wilkins wrote: Señor diablo, The child in me agrees; and I was always better at math than reading. Joe Wilkins On Dec 12, 2008, at 3:52 AM, Dave Cragg wrote: On 12 Dec 2008, at 00:48, Judy Perry wrote: I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text I'd argue that the second is more visually representative of what we are trying to express. The dot becomes a joining symbol which is more easily remembered than the strange syntax of space + of + space. And what on earth is the all about? Perhaps I'm saying that Rev is a great language for old people to take up. :-) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- Phil Jimmieson p...@liverpool.ac.uk (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Le 12 déc. 2008 à 12:52, Dave Cragg a écrit : Perhaps I'm saying that Rev is a great language for old people to take up. :-) Oh, yes indeed ! old people of any age ! from 7 to 77, like Tintin... (if you're old enough to remember Tintin and Snowy) Jacques___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Hi, It's easy to come up with ugly code in any language, the trick is to make beautiful code in *any* language. Out of the many programming languages I've used, I've come across lot of *very* ugly code, and ugly code is ugly code whatever language, however, ugly code in RunRev is far far uglier than in any other language I've used for a number of reasons. It's seem like clutching at straws and verging on being deceitful to make RunRev look good by showing how bad other languages can be, while at the same time keeping quiet about how ugly RunRev code can be! All the Best Dave On 11 Dec 2008, at 17:52, Judy Perry wrote: I again come hat-in-hand to ask for some really ugly-looking code examples in those real world programming languages to compare with Rev for the Slashdot thread. Posters there are actually recommending things like Assembly(!), Java, C#! shudders Specifically the OP was looking to teach basics such as conditionals, variables loops. Does anyone have any ugly examples? Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 12:21 AM, Bill Marriott w...@wjm.org wrote: Actually, it would be great if a LOT of people suggested Rev, and in some depth, according to their passion! (Richmond, this seems RIGHT up your alley!) The thread is filled with a lot of people who are suggesting Ruby, Python, even C++! Strikes me as verging on child abuse to subject a 14-yo to that, but who am I to say? :) Seriously, would love to see folks come out and letting the world know about our product, it would be a great way to promote the language we all love. Judy Perry katheryn.swynf...@gmail.com Subj: Slashdotter looking for kids' programming language http://news.slashdot.org/article.pl?sid=08/12/10/2257223 Someone might want to suggest Rev... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
The most unfair comparison of ANY strongly-typed language to an interpreted language is to complete an extremely simple algorithm: 1) Ask for two number from the command line 2) Add them 3) Put the sum into a sentence, outputting that sum to the screen. Typecasting code is unbelievably ugly, as is parsing code. On the comment of assembly, if you haven't tried assembly since 6502 assembly, or since using the 68000 assembly, you need to look at it. Assembly language on CISC processors is like cheating. It's very easy. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Le 12 déc. 08 à 01:48, Judy Perry a écrit : Francis, No! I'm not looking to embarass anyone here! I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I believe that most posters imply that rev is easy to learn because it is close to natural language, with natural = english here. Plead remember that, for a vast majority of children around the world, english is something as exotic as, let's say, baseball. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Jacques Hausser wrote: Oh, yes indeed ! old people of any age ! from 7 to 77, like Tintin... (if you're old enough to remember Tintin and Snowy) This is way OT, but I was at my local bookstore the other day and discovered that the entire Tin Tin collection has recently been republished in a beautifully-packaged box set. If you're a Tin Tin fan, this may be worth adding to your Christmas wish list. http://www.amazon.com/Adventures-Tintin-Collectors-Gift-Set/dp/0316006688 If this means I'm old, it's not the only indicator. :) -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Except that a child has almost certainly NEVER encountered that dot-joining that you reference, but HAS encountered the rather alot. Judy http://revined.blogspot.com On Fri, Dec 12, 2008 at 3:52 AM, Dave Cragg dave.cr...@lacscentre.co.ukwrote: On 12 Dec 2008, at 00:48, Judy Perry wrote: I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. I'll play Devil's Advocate. There seems to be some assumptions about what is easier for a child. One of these assumptions is that a simple English-like syntax is simpler than other kinds of syntax. I wonder if that is not an adult prejudice. Compare these two ways of representing properties: the text of me me.text I'd argue that the second is more visually representative of what we are trying to express. The dot becomes a joining symbol which is more easily remembered than the strange syntax of space + of + space. And what on earth is the all about? Perhaps I'm saying that Rev is a great language for old people to take up. :-) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
I'm not looking for anything deceitful; I think Jacque's examples do what I'm looking for quite nicely. OTOH, if what you really want to to make kids hate computers and programming, by all means force Java/C/C#/JavaScript down their throats. Judy http://revined.blogspot.com On Fri, Dec 12, 2008 at 6:06 AM, Dave d...@looktowindward.com wrote: Hi, It's easy to come up with ugly code in any language, the trick is to make beautiful code in *any* language. Out of the many programming languages I've used, I've come across lot of *very* ugly code, and ugly code is ugly code whatever language, however, ugly code in RunRev is far far uglier than in any other language I've used for a number of reasons. It's seem like clutching at straws and verging on being deceitful to make RunRev look good by showing how bad other languages can be, while at the same time keeping quiet about how ugly RunRev code can be! All the Best Dave On 11 Dec 2008, at 17:52, Judy Perry wrote: I again come hat-in-hand to ask for some really ugly-looking code examples in those real world programming languages to compare with Rev for the Slashdot thread. Posters there are actually recommending things like Assembly(!), Java, C#! shudders Specifically the OP was looking to teach basics such as conditionals, variables loops. Does anyone have any ugly examples? Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 12:21 AM, Bill Marriott w...@wjm.org wrote: Actually, it would be great if a LOT of people suggested Rev, and in some depth, according to their passion! (Richmond, this seems RIGHT up your alley!) The thread is filled with a lot of people who are suggesting Ruby, Python, even C++! Strikes me as verging on child abuse to subject a 14-yo to that, but who am I to say? :) Seriously, would love to see folks come out and letting the world know about our product, it would be a great way to promote the language we all love. Judy Perry katheryn.swynf...@gmail.com Subj: Slashdotter looking for kids' programming language http://news.slashdot.org/article.pl?sid=08/12/10/2257223 Someone might want to suggest Rev... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Judy- Thursday, December 11, 2008, 5:26:36 PM, you wrote: Mark, Thanks; I am still laughing at your favorite ;-) ...A bonus is that it actually compiles and (spoiler alert!) runs a daisy-petal he-loves-me-he-loves-me-not routine... -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Some of the reviews mention that the text is tiny, so if you're _that_ old... Cheers, Luis. On 12 Dec 2008, at 15:59, Richard Gaskin wrote: Jacques Hausser wrote: Oh, yes indeed ! old people of any age ! from 7 to 77, like Tintin... (if you're old enough to remember Tintin and Snowy) This is way OT, but I was at my local bookstore the other day and discovered that the entire Tin Tin collection has recently been republished in a beautifully-packaged box set. If you're a Tin Tin fan, this may be worth adding to your Christmas wish list. http://www.amazon.com/Adventures-Tintin-Collectors-Gift-Set/dp/ 0316006688 If this means I'm old, it's not the only indicator. :) -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
ARGHH NO! not Microsoft-speak!! Maybe we need a synonym for the ... of me - how about something like my? put my text into xx set my hilite to true etc. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
On 12 Dec 2008, at 16:09, Judy Perry wrote: Except that a child has almost certainly NEVER encountered that dot- joining that you reference, but HAS encountered the rather alot. Judy But more important surely is that the child has never encountered the programming concept of object properties. In Maths, for example, we teach kids new syntax for new concepts. I doubt many kids will tell you that 4 + 4 is more difficult to understand than 4 added to 4. But before either, we would usually introduce the concept, perhaps visually with pictures of oranges arranged in groups and so on. I'm guessing it's the same with programming - if you can establish the concept, then new syntax can be learned. Then again, it may be that programming is just plain difficult, whatever language we use. :-) Cheers Dave ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Judy, I'm not sure if you were referring to my comment when you said deceitful, but I contend that it is not at all deceitful. Strongly-typed language fans would object that you are pointing out the soft underbelly of their language, and therefore it is unfair because that example amplifies the situation, and at the same time clearly demonstrates the point about an xTalk language, or, for that matter, most scripting/interpreted languages. I pull my hair out any time that I try to use GWT or other similar tools to write code to build interactive web pages, because of all of the casts and declarations and quote mark after quote mark after quote mark that is required to get the job done. It's like LISP with apostrophes sometimes. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Dave, Math concepts are only additive in theory, otherwise, we could talk about path integrals and second and third order partial differential equations all day on this list and everyone would be right with it. There are math books and math classes just for girls because...girls seem to see and think differently than boys do. From personal experience with my children, it is clear that this is the case. Two of my kids are blowing by their peers and have already skipped a grade each in Math, and are continuing to accelerate away. My other one gets geometry and algebra, but struggles, with the mechanics of long anything, until she does it backwards. As we all know, everybody's different, and everybody's learning style is a little different. I was able to teach a room full of rank amateurs, over two class periods, how to build various personal productivity applications in HyperCard in College, and hook almost all of them in the process. However, when I tried to do the same things with the CS junkies, it was a total flop - they couldn't learn it the way I was teaching it. It was the most fascinating, and most rewarding credit hours of my four years in College. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Oh, yes indeed ! old people of any age ! from 7 to 77, like Tintin... (if you're old enough to remember Tintin and Snowy) Wasn't that Rin's last name? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Mikey, No, I wasn't referring to your comment. Sorry to have not been more clear! Judy http://revined.blogspot.com On Fri, Dec 12, 2008 at 8:34 AM, Mikey mikeyt...@gmail.com wrote: Judy, I'm not sure if you were referring to my comment when you said deceitful, but I contend that it is not at all deceitful. Strongly-typed language fans would object that you are pointing out the soft underbelly of their language, and therefore it is unfair because that example amplifies the situation, and at the same time clearly demonstrates the point about an xTalk language, or, for that matter, most scripting/interpreted languages. I pull my hair out any time that I try to use GWT or other similar tools to write code to build interactive web pages, because of all of the casts and declarations and quote mark after quote mark after quote mark that is required to get the job done. It's like LISP with apostrophes sometimes. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Thanks, Mark. You know, I actually kinda like BASIC and don't find it ugly at all @;-) Or, at least I didn't back in my C-64 days, hacking whatever ascii-art adventure game I was playing at the time. Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 5:47 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Judy, A few very simple examples. Revolution is clearly much more readable and easier to work with for starting programmers than other languages. # revolution on foo repeat with x = 32 to 255 put x numToChar(x) cr after msg end repeat end foo This one is hardly readable if you're not used to reading programing code: # php ?php for ($chrNr=32;$chrNr 255;$chrNr++) { echo $chrNr..chr($chrNr).\n; } ? Just for fun, here's the AppleScript version. Quite similar to Revolution, but much more picky. -- applescript on foo() set myList to repeat with x from 32 to 255 set myList to myList x (ASCII character x) return end repeat return myList end foo Btw, if you want ugly code, this one should not be omitted... 0 REM BASIC 10 LET x = 31 20 LET X = X + 1 30 PRINT x,,CHR$(x) 40 IF x 255 GOTO 20 50 END I've tested all the examples above. They all work. Of course, there is a large collection of programming languages already and people can easily pick the one that looks easy at http://99-bottles-of-beer.net/language-runtime-revolution-499.html. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 11 dec 2008, at 18:52, Judy Perry wrote: I again come hat-in-hand to ask for some really ugly-looking code examples in those real world programming languages to compare with Rev for the Slashdot thread. Posters there are actually recommending things like Assembly(!), Java, C#! shudders Specifically the OP was looking to teach basics such as conditionals, variables loops. Does anyone have any ugly examples? Judy http://revined.blogspot.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Maybe we need a synonym for the ... of me - how about something like my? put my text into xx set my hilite to true Actually, SenseTalk (the xTalk that drives the Eggplant testing suite) provides support for my as well as having extended xTalk to include possessives, so you can say: set button 1's hilite to true but it goes farther in defining custom simple objects on the fly that can have properties or other objects nested within them; this is where possessives make more sense: put (name: Michael) into mike-- create the mike object put a new object into property cat of mike -- create a nested object set the name of mike's cat to Fido put mike's cat's name -- puts Fido As a side note, these simple objects are not physical objects like buttons and fields, but more like Director's or AppleScript's property lists; kind of like associative arrays, but can be addressed with property-like statements. It would be like doing this in a *fictitious* version of Rev that supported this: put Fido into cat[name] put cat into mike[cat] put the name of the cat of mike Anyway, just something to think about... SenseTalk has a lot of neat xTalk features I'd love to see in Rev (date math, lists and property lists, multiple chunks, methods of handling undelivered messages, etc.), but just thought I'd mention possessives vs. my... Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.com/ ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
I again come hat-in-hand to ask for some really ugly-looking code examples in those real world programming languages to compare with Rev for the Slashdot thread. Posters there are actually recommending things like Assembly(!), Java, C#! shudders Specifically the OP was looking to teach basics such as conditionals, variables loops. Does anyone have any ugly examples? Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 12:21 AM, Bill Marriott w...@wjm.org wrote: Actually, it would be great if a LOT of people suggested Rev, and in some depth, according to their passion! (Richmond, this seems RIGHT up your alley!) The thread is filled with a lot of people who are suggesting Ruby, Python, even C++! Strikes me as verging on child abuse to subject a 14-yo to that, but who am I to say? :) Seriously, would love to see folks come out and letting the world know about our product, it would be a great way to promote the language we all love. Judy Perry katheryn.swynf...@gmail.com Subj: Slashdotter looking for kids' programming language http://news.slashdot.org/article.pl?sid=08/12/10/2257223 Someone might want to suggest Rev... ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Judy, This time you have really got everybody scared. I, for one (after 45 years of programming), will NEVER show you my UGLY code examples, not in Algol, 1401 Autocoder, Fortran, Cobol, 360 Assembler, RPG, PL/1, Basic, Hypertalk, etc. And now with the terrific one-liners on this forum, showing me how Revolution CAN be written, you have even less chance. I keep my lousy programming to myself. But (sigh) it always worked :) -Francis ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Judy- Thursday, December 11, 2008, 9:52:39 AM, you wrote: Does anyone have any ugly examples? You can check out the Obfucated C Code Contest archives here: http://www0.us.ioccc.org/main.html My favorite of the bunch: http://www0.us.ioccc.org/1990/westley.c The gloves are OFF this time, I detest you, snot\n\0sed GEEK!); -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Judy Perry wrote: I again come hat-in-hand to ask for some really ugly-looking code examples in those real world programming languages to compare with Rev for the Slashdot thread. Posters there are actually recommending things like Assembly(!), Java, C#! shudders Specifically the OP was looking to teach basics such as conditionals, variables loops. Does anyone have any ugly examples? There are several in my Do anything with text stack from RevLive 2008 (on card 2), comparing Rev to Javascript. Here are two: display a phone number and hilite each character in sequence == JavaScript (57 lines) HEAD script type=text/javascript !-- Begin var bgcolour=#ff; // background colour var hlcolour=#bfceff; // highlight colour var speed=250; // speed colours change, 1 second = 1000 // DON'T EDIT BELOW THIS LINE * var w3c=document.getElementById; var ie45=document.all; var p_txt, p_cnt=0; window.onload=function() { if (w3c||ie45) { var phone=(w3c)?document.getElementById(phonein):document.all[phonein]; p_txt=(w3c)?phone.firstChild.nodeValue:phone.innerHTML; if (ie45) { var phoni=; for (var i=0; ip_txt.length; i++) phoni+='sp'+'an id=phon'+i+''+p_txt.charAt(i)+'/'+'span'; phone.innerHTML=phoni; } else { while (phone.childNodes.length) phone.removeChild(phone.childNodes[0]); for (var i=0; ip_txt.length; i++) { var phoni=document.createElement(span); phoni.setAttribute(id, phon+i); phoni.appendChild(document.createTextNode(p_txt.charAt(i))); phone.appendChild(phoni); } } p_cnt=p_txt.length-1; phone=setInterval (phon1(), speed); } } function phon1() { var p_ct=p_cnt%p_txt.length; var p_tmp=(w3c)?document.getElementById(phon+p_ct):document.all[phon+p_ct]; p_tmp.style.backgroundColor=bgcolour; p_tmp.style.fontWeight=normal; p_ct=++p_cnt%p_txt.length; p_tmp=(w3c)?document.getElementById(phon+p_ct):document.all[phon+p_ct]; p_tmp.style.fontWeight=bold; if (((w3c)?p_tmp.firstChild.nodeValue:p_tmp.innerHTML)!= ) p_tmp.style.backgroundColor=hlcolour; } // End -- /script /HEAD !-- STEP TWO: Copy this code into the BODY of your HTML document -- BODY span id=phonein555-123-4567/span pcenter font face=arial, helvetica size-2Free JavaScripts providedbr by a href=http://javascriptsource.com;The JavaScript Source/a/font /centerp In Rev (16 lines, but it could be trimmed to less): on mouseUp create fld ascii set the autohilite of fld ascii to true set the traversalOn of fld ascii to true set the showFocusBorder of fld ascii to false set the topleft of fld ascii to 350,450 put 612-724-1596 into fld ascii put the seconds into tStart repeat until the seconds - tStart 5 or the shiftkey is down repeat with x = 1 to the number of chars in fld ascii select char x of fld ascii wait 200 milliseconds end repeat end repeat delete fld ascii end mouseUp == show a field and select each line in turn; display its contents (this was called Advanced Gallery on the web page) === Javascript (149 lines): HEAD style type=text/css .gallerycontroller{ width: 250px } .gallerycontent{ width: 250px; height: 200px; border: 1px solid black; background-color: #DFDFFF; padding: 3px; display: block; } /style script type=text/javascript var tickspeed=3000 //ticker speed in miliseconds (2000=2 seconds) var displaymode=auto //displaymode (auto or manual). No need to modify as form at the bottom will control it, unless you wish to remove form. if (document.getElementById){ document.write('style type=text/css\n') document.write('.gallerycontent{display:none;}\n') document.write('/style\n') } var selectedDiv=0 var totalDivs=0 function getElementbyClass(classname){ partscollect=new Array() var inc=0 var alltags=document.all? document.all.tags(DIV) : document.getElementsByTagName(*) for (i=0; ialltags.length; i++){ if (alltags[i].className==classname) partscollect[inc++]=alltags[i] } } function contractall(){ var inc=0 while (partscollect[inc]){ partscollect[inc].style.display=none inc++ } } function expandone(){ var selectedDivObj=partscollect[selectedDiv] contractall() selectedDivObj.style.display=block temp.options[selectedDiv].selected=true selectedDiv=(selectedDivtotalDivs-1)? selectedDiv+1 : 0 if (displaymode==auto) autocontrolvar=setTimeout(expandone(),tickspeed) } function populatemenu(){ temp=document.gallerycontrol.menu for (m=temp.options.length-1;m0;m--) temp.options[m]=null for (i=0;itotalDivs;i++){ var thesubject=partscollect[i].getAttribute(subject) thesubject=(thesubject== || thesubject==null)? HTML Content +(i+1) : thesubject temp.options[i]=new Option(thesubject,) } temp.options[0].selected=true } function manualcontrol(menuobj){ if (displaymode==manual){ selectedDiv=menuobj expandone() } } function preparemode(themode){ displaymode=themode if (typeof autocontrolvar!=undefined) clearTimeout(autocontrolvar) if
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Francis, No! I'm not looking to embarass anyone here! I just want to show people that you can do things easier -- and certainly easier for a child -- in Rev than in all those other languages being suggested. And, of course, you should see MY lousy code ;-) Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 10:21 AM, Francis Nugent Dixon effe...@wanadoo.frwrote: Judy, This time you have really got everybody scared. I, for one (after 45 years of programming), will NEVER show you my UGLY code examples, not in Algol, 1401 Autocoder, Fortran, Cobol, 360 Assembler, RPG, PL/1, Basic, Hypertalk, etc. And now with the terrific one-liners on this forum, showing me how Revolution CAN be written, you have even less chance. I keep my lousy programming to myself. But (sigh) it always worked :) -Francis ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Mark, Thanks; I am still laughing at your favorite ;-) Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 10:21 AM, Mark Wieder mwie...@ahsoftware.netwrote: Judy- Thursday, December 11, 2008, 9:52:39 AM, you wrote: Does anyone have any ugly examples? You can check out the Obfucated C Code Contest archives here: http://www0.us.ioccc.org/main.html My favorite of the bunch: http://www0.us.ioccc.org/1990/westley.c The gloves are OFF this time, I detest you, snot\n\0sed GEEK!); -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Hi Judy, A few very simple examples. Revolution is clearly much more readable and easier to work with for starting programmers than other languages. # revolution on foo repeat with x = 32 to 255 put x numToChar(x) cr after msg end repeat end foo This one is hardly readable if you're not used to reading programing code: # php ?php for ($chrNr=32;$chrNr 255;$chrNr++) { echo $chrNr..chr($chrNr).\n; } ? Just for fun, here's the AppleScript version. Quite similar to Revolution, but much more picky. -- applescript on foo() set myList to repeat with x from 32 to 255 set myList to myList x (ASCII character x) return end repeat return myList end foo Btw, if you want ugly code, this one should not be omitted... 0 REM BASIC 10 LET x = 31 20 LET X = X + 1 30 PRINT x,,CHR$(x) 40 IF x 255 GOTO 20 50 END I've tested all the examples above. They all work. Of course, there is a large collection of programming languages already and people can easily pick the one that looks easy at http://99-bottles-of-beer.net/language-runtime-revolution-499.html . -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 11 dec 2008, at 18:52, Judy Perry wrote: I again come hat-in-hand to ask for some really ugly-looking code examples in those real world programming languages to compare with Rev for the Slashdot thread. Posters there are actually recommending things like Assembly(!), Java, C#! shudders Specifically the OP was looking to teach basics such as conditionals, variables loops. Does anyone have any ugly examples? Judy http://revined.blogspot.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
If you want ugly code in Rev, the key is to do things in a horrible, obtuse and irrational fashion. Smoke and mirrors, my friends! (nope, haven't tested this but it looks right to me =)) on foo put item -5 of fox,cat,dog,horse into t put 0*pi*100 into x repeat while (x (256 - charToNum(space))) put empty into l put numToChar(x+32) after l put numToChar(32) before l put (x+32) before l put l into line (x+1) of t put x + 1 into x end repeat replace space withspacespacespacein t sort lines of t numeric by word 1 of each put line 1 to -1 of (tcr) end foo Hi Judy, A few very simple examples. Revolution is clearly much more readable and easier to work with for starting programmers than other languages. # revolution on foo repeat with x = 32 to 255 put x numToChar(x) cr after msg end repeat end foo This one is hardly readable if you're not used to reading programing code: # php ?php for ($chrNr=32;$chrNr 255;$chrNr++) { echo $chrNr..chr($chrNr).\n; } ? Just for fun, here's the AppleScript version. Quite similar to Revolution, but much more picky. -- applescript on foo() set myList to repeat with x from 32 to 255 set myList to myList x (ASCII character x) return end repeat return myList end foo Btw, if you want ugly code, this one should not be omitted... 0 REM BASIC 10 LET x = 31 20 LET X = X + 1 30 PRINT x,,CHR$(x) 40 IF x 255 GOTO 20 50 END ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Oh, heavens, NO! I want ugly code in OTHER languages... legitimate, legitimately ugly code in other languages. If I wanted ugly code in Rev, I could simply use my own! :-/ Judy http://revined.blogspot.com On Thu, Dec 11, 2008 at 7:41 PM, Brian Yennie bri...@qldlearning.comwrote: If you want ugly code in Rev, the key is to do things in a horrible, obtuse and irrational fashion. Smoke and mirrors, my friends! (nope, haven't tested this but it looks right to me =)) on foo put item -5 of fox,cat,dog,horse into t put 0*pi*100 into x repeat while (x (256 - charToNum(space))) put empty into l put numToChar(x+32) after l put numToChar(32) before l put (x+32) before l put l into line (x+1) of t put x + 1 into x end repeat replace space withspacespacespacein t sort lines of t numeric by word 1 of each put line 1 to -1 of (tcr) end foo Hi Judy, A few very simple examples. Revolution is clearly much more readable and easier to work with for starting programmers than other languages. # revolution on foo repeat with x = 32 to 255 put x numToChar(x) cr after msg end repeat end foo This one is hardly readable if you're not used to reading programing code: # php ?php for ($chrNr=32;$chrNr 255;$chrNr++) { echo $chrNr..chr($chrNr).\n; } ? Just for fun, here's the AppleScript version. Quite similar to Revolution, but much more picky. -- applescript on foo() set myList to repeat with x from 32 to 255 set myList to myList x (ASCII character x) return end repeat return myList end foo Btw, if you want ugly code, this one should not be omitted... 0 REM BASIC 10 LET x = 31 20 LET X = X + 1 30 PRINT x,,CHR$(x) 40 IF x 255 GOTO 20 50 END ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language
Brian Yennie wrote: If you want ugly code in Rev, the key is to do things in a horrible, obtuse and irrational fashion. Smoke and mirrors, my friends! (nope, haven't tested this but it looks right to me =)) on foo put item -5 of fox,cat,dog,horse into t put 0*pi*100 into x repeat while (x (256 - charToNum(space))) put empty into l put numToChar(x+32) after l put numToChar(32) before l put (x+32) before l put l into line (x+1) of t put x + 1 into x end repeat replace space withspacespacespacein t sort lines of t numeric by word 1 of each put line 1 to -1 of (tcr) end foo You should omit the line: put x + 1 into x Then wait to see what happens. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution