Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-14 Thread Andre Garzia
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 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? > >

Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-13 Thread Richmond Mathewson
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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-13 Thread viktoras didziulis
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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-13 Thread viktoras didziulis
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 re

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Ken Ray
>> 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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Judy Perry
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.

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Judy Perry
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 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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Bruce Robertson
> 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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Mikey
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 t

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Mikey
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 s

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Dave Cragg
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 prope

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Stephen Barncard
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 - - - - - - - - - - - - ___

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Luis
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) T

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Mark Wieder
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 ___

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Judy Perry
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 a

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Judy Perry
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 wrote: > > On 12 Dec 2008, at 00:48, Judy Perry wrote: > > I just want to show peopl

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Richard Gaskin
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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread François Chaplais
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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Mikey
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, a

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Dave
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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Jacques Hausser
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__

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Luis
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 Jimmies

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Phil Jimmieson
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,

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Joe Lewis Wilkins
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 Re

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Dave Cragg
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 c

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread J. Landman Gay
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

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Judy Perry
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 wrote: > If you want ugly code in Rev, the

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Brian Yennie
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(s

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Mark Schonewille
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 r

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Judy Perry
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 wrote: > 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 Contes

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Judy Perry
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 T

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread J. Landman Gay
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#! Specifically the OP was looking to t

Re: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Mark Wieder
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

Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Francis Nugent Dixon
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

Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-11 Thread Judy Perry
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#! Specifically the OP was looking to teach basics such as