Re: Python and Flaming Thunder

2008-06-28 Thread Dave Parker
On Jun 7, 10:24 am, Sam Denton <[EMAIL PROTECTED]> wrote: > I've long believed that '=' should be banned from programming languages. > Use '==' for equality tests, and ':=' for assignments. That's an interesting suggestion that I don't recall hearing anyone else ever mention. On Jun 7, 10:24 am

Re: Python and Flaming Thunder

2008-06-07 Thread Sam Denton
John Salerno wrote: "Dave Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: --- For example, consider the two statements: x = 8 x = 10 The reaction from most math teachers (and kids) was "one of those is wrong b

Re: Python and Flaming Thunder

2008-06-05 Thread Dave Parker
On Jun 5, 7:57 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: >... wait, x = 8 and x = 10! > But how can that be, Dave? You and your elementary kids just told me > I can't have two values for x... x = 8 OR x = 10. ;) By the way, realtime fullscreen 3D graphics are now up and running under Windows.

Re: Python and Flaming Thunder

2008-06-05 Thread Dan Upton
On Thu, Jun 5, 2008 at 9:43 AM, John Salerno <[EMAIL PROTECTED]> wrote: > "Dave Parker" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: > > --- > For example, consider the two statements: > > x = 8 > x = 10 > > The reacti

Re: Python and Flaming Thunder

2008-06-05 Thread John Salerno
"Dave Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: --- For example, consider the two statements: x = 8 x = 10 The reaction from most math teachers (and kids) was "one of those is wrong because x can't equal 2

Re: Python and Flaming Thunder

2008-06-05 Thread John Salerno
"Dave Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Kind of like how this year's program won't work on next year's > Python? Except Flaming Thunder is faster. ;) To be fair (and accurate), Python 3.0 has been in development for a long time without being marketed for prod

Re: Python and Flaming Thunder

2008-05-30 Thread Torsten Bronger
Hallöchen! Grant Edwards writes: > On 2008-05-30, Torsten Bronger <[EMAIL PROTECTED]> wrote: > >> Duncan Booth writes: >> >>> [...] >>> >>> I don't understand your problem: it's just a single thread so >>> killfile or skip it. >> >> Although I agree with you that there is no problem, *this* is no

Re: Python and Flaming Thunder

2008-05-30 Thread Grant Edwards
On 2008-05-30, Torsten Bronger <[EMAIL PROTECTED]> wrote: > Hall?chen! > > Duncan Booth writes: > >> [...] >> >> I don't understand your problem: it's just a single thread so >> killfile or skip it. > > Although I agree with you that there is no problem, *this* is not a > good justification for thi

Re: Python and Flaming Thunder

2008-05-30 Thread Torsten Bronger
Hallöchen! Duncan Booth writes: > [...] > > I don't understand your problem: it's just a single thread so > killfile or skip it. Although I agree with you that there is no problem, *this* is not a good justification for this thread. One should stay on topic in *every* thread. Tschö, Torsten.

Re: Python and Flaming Thunder

2008-05-30 Thread Duncan Booth
"D'Arcy J.M. Cain" <[EMAIL PROTECTED]> wrote: > I guess I am still new to this group and don't understand its charter. > I wasn't aware that it was a Flaming Blunder group. Can someone please > point me to a newsgroup or mailing list dedicated to the Python > programming language? > A minor poin

Re: Python and Flaming Thunder

2008-05-29 Thread Marc 'BlackJack' Rintsch
On Thu, 29 May 2008 17:57:45 -0400, D'Arcy J.M. Cain wrote: > I guess I am still new to this group and don't understand its charter. > I wasn't aware that it was a Flaming Blunder group. Can someone please > point me to a newsgroup or mailing list dedicated to the Python > programming language?

Re: Python and Flaming Thunder

2008-05-29 Thread alex23
On May 30, 8:02 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > Yeah, but if you look past the "FT is better than Python" propaganda, > there's some interesting discussion of language design. Which is more appropriate on a group focused on such a topic. -- http://mail.python.org/mailman/listinfo/pyt

Re: Python and Flaming Thunder

2008-05-29 Thread Dave Parker
Dan Upton wrote: > I just think if you're shooting for an easily understandable > language, overloading error handling requires more thought on the > programmer's part, not less, because they have to reason about all > outcomes Duncan Booth wrote: > Maybe FT should do something similar: >Write

Re: Python and Flaming Thunder

2008-05-29 Thread Dan Upton
On Thu, May 29, 2008 at 5:57 PM, D'Arcy J.M. Cain <[EMAIL PROTECTED]> wrote: > I guess I am still new to this group and don't understand its charter. > I wasn't aware that it was a Flaming Blunder group. Can someone please > point me to a newsgroup or mailing list dedicated to the Python > program

Re: Python and Flaming Thunder

2008-05-29 Thread D'Arcy J.M. Cain
I guess I am still new to this group and don't understand its charter. I wasn't aware that it was a Flaming Blunder group. Can someone please point me to a newsgroup or mailing list dedicated to the Python programming language? -- D'Arcy J.M. Cain <[EMAIL PROTECTED]> | Democracy is thre

Re: Python and Flaming Thunder

2008-05-29 Thread Luis Zarrabeitia
> On May 28, 11:46 pm, Dave Parker <[EMAIL PROTECTED]> > wrote: > > On May 28, 3:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > > > > > Kind of like how this year's program won't work on next year's > > > > Python? > > > > "Like Perl 6, Python 3.0 will break backward compatibility. There

Re: Python and Flaming Thunder

2008-05-29 Thread méchoui
On May 28, 11:46 pm, Dave Parker <[EMAIL PROTECTED]> wrote: > On May 28, 3:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > > > Kind of like how this year's program won't work on next year's > > > Python? > > > For somebody who has admitted to have only very rudimentary knowledge of > > pyt

Re: Python and Flaming Thunder

2008-05-29 Thread Duncan Booth
"Dan Upton" <[EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 3:36 AM, Duncan Booth ><[EMAIL PROTECTED]> wrote: >> Dave Parker <[EMAIL PROTECTED]> wrote: >> >>> Catch doesn't return just error types or numbers, it can return any >>> object returned by the statements that are being caught; catch

Re: Python and Flaming Thunder

2008-05-29 Thread Dan Upton
On Thu, May 29, 2008 at 3:36 AM, Duncan Booth <[EMAIL PROTECTED]> wrote: > Dave Parker <[EMAIL PROTECTED]> wrote: > >> Catch doesn't return just error types or numbers, it can return any >> object returned by the statements that are being caught; catch doesn't >> care what type they are. For examp

Re: Python and Flaming Thunder

2008-05-29 Thread Duncan Booth
Dave Parker <[EMAIL PROTECTED]> wrote: > Catch doesn't return just error types or numbers, it can return any > object returned by the statements that are being caught; catch doesn't > care what type they are. For example: > > Writeline catch(set x to "hello world".). > > will write "hello wor

Re: Python and Flaming Thunder

2008-05-28 Thread Giampaolo Rodola'
On 28 Mag, 23:13, Dave Parker <[EMAIL PROTECTED]> wrote: > On May 28, 12:09 pm, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote: > > > Following your posts in this thread, I see that > > you 'plan to add soon' every cool feature that every other language seems to > > have. > > I've already added a lot o

Re: Python and Flaming Thunder

2008-05-28 Thread Diez B. Roggisch
To be fair, the graphics look cool and the "single-asset 8-by-8 shotgun cross compiler, written entirely in assembly language" sounds impressive from an implementation point of view, in the sense that building Deep Blue with nothing but NAND gates would; utterly impressive and pointless at the s

Re: Python and Flaming Thunder

2008-05-28 Thread Diez B. Roggisch
Dave Parker schrieb: On May 28, 3:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: Kind of like how this year's program won't work on next year's Python? For somebody who has admitted to have only very rudimentary knowledge of python that's a pretty bold statement, don't you think? Everth

Re: Python and Flaming Thunder

2008-05-28 Thread George Sakkis
On May 28, 5:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > Kind of like how this year's program won't work on next year's > > Python? > > For somebody who has admitted to have only very rudimentary knowledge of > python that's a pretty bold statement, don't you think? > > > Except Flam

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
On May 28, 3:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > > Kind of like how this year's program won't work on next year's > > Python? > > For somebody who has admitted to have only very rudimentary knowledge of > python that's a pretty bold statement, don't you think? Everthing I know,

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
On May 28, 12:48 pm, "Dan Upton" <[EMAIL PROTECTED]> wrote: > there's no reason "set" itself > should throw any sort of error in the sense of an exception--in a > statement like "Set x to SomeFunctionThatCanBlowUp()", the semantics > should clearly be that the error comes from the function.  In a s

Re: Python and Flaming Thunder

2008-05-28 Thread Diez B. Roggisch
Kind of like how this year's program won't work on next year's Python? For somebody who has admitted to have only very rudimentary knowledge of python that's a pretty bold statement, don't you think? Except Flaming Thunder is faster. ;) Faster in execution speed for a very limited domain

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
On May 28, 12:09 pm, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote: > Following your posts in this thread, I see that > you 'plan to add soon' every cool feature that every other language seems to > have. I've already added a lot of them. For example, loops that don't need looping variables: For 10

Re: Python and Flaming Thunder

2008-05-28 Thread Dan Upton
On Wed, May 28, 2008 at 11:09 AM, Dave Parker <[EMAIL PROTECTED]> wrote: >> > If catch(set x to y+z.) < 0.1 then go to tinyanswer. >> >> So what does this do exactly if the set throws an error? > > I think the catch should catch the error thrown by set, compare it to > 0.1, the comparison will not

Re: Python and Flaming Thunder

2008-05-28 Thread Luis Zarrabeitia
On Wednesday 28 May 2008 09:22:53 am Dave Parker wrote: > I think in a month or two, Flaming Thunder will be using catch/throw > exception and error handling.  So, for example: Nice... Flaming Thunder sure evolves quickly. Too quickly to be considered a 'feature' of the language. Following your p

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
> > If catch(set x to y+z.) < 0.1 then go to tinyanswer. > > So what does this do exactly if the set throws an error? I think the catch should catch the error thrown by set, compare it to 0.1, the comparison will not return true because the error is not less than 0.1, and so the go-to to tinyanswe

Re: Python and Flaming Thunder

2008-05-28 Thread Duncan Booth
Dave Parker <[EMAIL PROTECTED]> wrote: > Catch also gives you a > single, uniform, syntactically unambiguous way to embed statements (or > whole statement lists) into expressions -- without causing the > syntactic problems of = statements in if statements or the obfuscation > of question mark nota

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
> That error message is the erlang interpreter saying "Hey I know X is > 8, and you've said it is 10 - that can't be right", which is pretty > much what math teachers say too... I enjoyed the discussion of how different languages handle the notion of "="; I learned something new. Thanks. On May

Re: Python and Flaming Thunder

2008-05-28 Thread Dave Parker
> Does this mean that Flaming Thunder requires explicit checking rather > than offering exceptions? Right now, yes, Flaming Thunder has minimal error handling. But error handling is rising on the list of priorities for the next few weeks (arrays, matrices, and 3D graphics are the hightest). I th

Re: Python and Flaming Thunder

2008-05-23 Thread Nick Craig-Wood
I V <[EMAIL PROTECTED]> wrote: > On Thu, 22 May 2008 19:35:50 -0700, Charles Hixson wrote: > > Although when comparing Candygram with Erlang it's worth noting that > > Candygram is bound to one processor, where Erlang can operate on > > multiple processors. (I'd been planning on using Candygram fo

Re: Python and Flaming Thunder

2008-05-23 Thread Duncan Booth
Brian Quinlan <[EMAIL PROTECTED]> wrote: > Dave Parker wrote: >>> Or just: >>> >>> If command is "quit" ... >> >> Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) >> for assigning and checking types. For example, to read data from a >> file and check for errors: >> >> R

Re: Python and Flaming Thunder

2008-05-23 Thread Iain King
On May 23, 3:35 am, Charles Hixson <[EMAIL PROTECTED]> wrote: > On Thursday 22 May 2008 13:30:07 Nick Craig-Wood wrote: > > > ... > > >From Armstrong's book: The expression Pattern = Expression causes > > > Expression to be evaluated and the result matched against Pattern. The > > match either succ

Re: Python and Flaming Thunder

2008-05-22 Thread Kay Schluehr
On 13 Mai, 01:39, Dave Parker <[EMAIL PROTECTED]> wrote: > I've read that one of the design goals of Python was to create an easy- > to-use English-like language. That's also one of the design goals of > Flaming Thunder athttp://www.flamingthunder.com/ , which has proven > easy enough for even ele

Re: Python and Flaming Thunder

2008-05-22 Thread I V
On Thu, 22 May 2008 19:35:50 -0700, Charles Hixson wrote: > Although when comparing Candygram with Erlang it's worth noting that > Candygram is bound to one processor, where Erlang can operate on > multiple processors. (I'd been planning on using Candygram for a project > at one point, but this mad

Re: Python and Flaming Thunder

2008-05-22 Thread Charles Hixson
On Thursday 22 May 2008 13:30:07 Nick Craig-Wood wrote: > ... > >From Armstrong's book: The expression Pattern = Expression causes > > Expression to be evaluated and the result matched against Pattern. The > match either succeeds or fails. If the match succeeds any variables > occurring in Pattern

Re: Python and Flaming Thunder

2008-05-22 Thread Brian Quinlan
Dave Parker wrote: Or just: If command is "quit" ... Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) for assigning and checking types. For example, to read data from a file and check for errors: Read data from "input.txt". If data is an error then go to ... H

Re: Python and Flaming Thunder

2008-05-22 Thread Torsten Bronger
Hallöchen! Matthew Woodcraft writes: > [...] > > At one time, Guido was very keen on the idea of Python as a > language to introduce non-programmers to (under the 'Computer > Programming for Everybody' slogan). > > I think it's rather a shame that this has more-or-less fallen by > the wayside. Th

Re: Python and Flaming Thunder

2008-05-22 Thread Matthew Woodcraft
<[EMAIL PROTECTED]> wrote: > So it seems like you're designing a language for non-programmers. > That's good, I've never heard about anyone so interested in teaching > programming for kids and non-programmers. But in that case, you > shouldn't even be comparing it to Python. At one time, Guido was

Re: Python and Flaming Thunder

2008-05-22 Thread Nick Craig-Wood
Mel <[EMAIL PROTECTED]> wrote: > Mensanator wrote: > > On May 22, 10:30??am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > >> Dave Parker <[EMAIL PROTECTED]> wrote: > >> > But after getting input from children and teachers, etc, it started > >> > feeling right. > >> > >> > For example, consider the

Re: Python and Flaming Thunder

2008-05-22 Thread [EMAIL PROTECTED]
On 22 mai, 18:56, Mensanator <[EMAIL PROTECTED]> wrote: > On May 22, 10:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > > > > > Dave Parker <[EMAIL PROTECTED]> wrote: > > > But after getting input from children and teachers, etc, it started > > > feeling right. > > > > For example, consider

Re: Python and Flaming Thunder

2008-05-22 Thread Mel
Mensanator wrote: > On May 22, 10:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: >> Dave Parker <[EMAIL PROTECTED]> wrote: >> > But after getting input from children and teachers, etc, it started >> > feeling right. >> >> > For example, consider the two statements: >> >> > x = 8 >> > x = 10 >>

Re: Python and Flaming Thunder

2008-05-22 Thread Mensanator
On May 22, 10:30 am, Nick Craig-Wood <[EMAIL PROTECTED]> wrote: > Dave Parker <[EMAIL PROTECTED]> wrote: > >  But after getting input from children and teachers, etc, it started > >  feeling right. > > >  For example, consider the two statements: > > >       x = 8 > >       x = 10 > > >  The reacti

Re: Python and Flaming Thunder

2008-05-22 Thread Nick Craig-Wood
Dave Parker <[EMAIL PROTECTED]> wrote: > But after getting input from children and teachers, etc, it started > feeling right. > > For example, consider the two statements: > > x = 8 > x = 10 > > The reaction from most math teachers (and kids) was "one of those is > wrong because

Re: Python and Flaming Thunder

2008-05-22 Thread Bruno Desthuilliers
[EMAIL PROTECTED] a écrit : (snip) Maybe if I have a kid someday I'll teach him Flaming Thunder! (just kidding, you prick). Err... Could we please avoid name calling, gentlemens ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Flaming Thunder

2008-05-22 Thread s0suk3
On May 21, 10:34 am, Dave Parker <[EMAIL PROTECTED]> wrote: > On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: > > > Personally, FT is a bit meh to me. The way you issue your statements I > > always think something is wrong, mainly because when I want to define, > > say, x, in python I'd go: >

Re: Python and Flaming Thunder

2008-05-22 Thread Bruno Desthuilliers
Daniel Fetchinson a écrit : Or just: If command is "quit" ... Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) for assigning and checking types. For example, to read data from a file and check for errors: Read data from "input.txt". If data is an error then go to

Re: Python and Flaming Thunder

2008-05-22 Thread Duncan Booth
Torsten Bronger <[EMAIL PROTECTED]> wrote: Read data from "input.txt". If data is an error then go to ... >>> >>> Arf ! A goto ! >> >> You are surely aware of the fact that the C source of python also uses >> goto at tons of places. Is that Arf! too? > > In the hands of a skil

Re: Python and Flaming Thunder

2008-05-21 Thread Giampaolo Rodola'
On 21 Mag, 17:34, Dave Parker <[EMAIL PROTECTED]> wrote: > [...] symbols are more confusing for people to learn about than > words. There are lots of people who are fluent in English, but > dislike math. > > So, I opted for a simple, unambiguous, non-mathematical way of > expressing "assignment"

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 7:49 pm, MRAB <[EMAIL PROTECTED]> wrote: > I've thought of one possible drawback: "a" and "an" can be used as > variables, so the "is a" part might cause a problem. You'd need to > check the parser to find out... Good point, I hadn't noticed that. I'll check it out. -- http://mail.pyth

Re: Python and Flaming Thunder

2008-05-21 Thread MRAB
On May 21, 8:34 pm, Dave Parker <[EMAIL PROTECTED]> wrote: > On May 21, 1:14 pm, MRAB <[EMAIL PROTECTED]> wrote: > > > I wonder whether "is" could be used both for "x is value" and "x is a > > type" without causing a problem: > > > If command is a string ... > > > If command is "quit" ... > > I thi

Re: Python and Flaming Thunder

2008-05-21 Thread Collin
Dave Parker wrote: On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: Personally, FT is a bit meh to me. The way you issue your statements I always think something is wrong, mainly because when I want to define, say, x, in python I'd go: x = "whatever" Instantly noting that I defined x. Wh

Re: Python and Flaming Thunder

2008-05-21 Thread Dan Upton
On Wed, May 21, 2008 at 5:27 PM, Fuzzyman <[EMAIL PROTECTED]> wrote: > On May 14, 10:30 pm, "[EMAIL PROTECTED]" > <[EMAIL PROTECTED]> wrote: >> > Dave Parker schrieb: >> > > All of the calculators and textbooks that elementary school students >> > > use, use "^" for powers. >> >> I've never seen th

Re: Python and Flaming Thunder

2008-05-21 Thread Fuzzyman
On May 14, 10:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Dave Parker schrieb: > > > All of the calculators and textbooks that elementary school students > > > use, use "^" for powers. > > I've never seen this symbol in textbooks. In textbooks, powers are > written using superscript.

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 1:29 pm, "Dan Upton" <[EMAIL PROTECTED]> wrote: > ... --somewhat akin to the > guy who a month or so ago wanted to sneakily teach his high school > class programming fundamentals by teaching them game programming. Yep, that's kind of my plan, too. After I get enough "computer language

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 1:14 pm, MRAB <[EMAIL PROTECTED]> wrote: > I wonder whether "is" could be used both for "x is value" and "x is a > type" without causing a problem: > > If command is a string ... > > If command is "quit" ... I think you are right. I like "If command is "quit" ...". For a user who wasn

Re: Python and Flaming Thunder

2008-05-21 Thread Dan Upton
On Wed, May 21, 2008 at 12:11 PM, Dave Parker <[EMAIL PROTECTED]> wrote: > On May 21, 10:00 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > >> Sounds to me like the teacher is being difficult, ... > > No, proof-by-contradiction is a common technique in math. If you can > show that x=8 and x=10, then

Re: Python and Flaming Thunder

2008-05-21 Thread MRAB
On May 21, 4:15 pm, Dave Parker <[EMAIL PROTECTED]> wrote: > > Or just: > > > If command is "quit" ... > > Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) > for assigning and checking types. For example, to read data from a > file and check for errors: > > Read data from

Re: Python and Flaming Thunder

2008-05-21 Thread Torsten Bronger
Hallöchen! Daniel Fetchinson writes: Or just: If command is "quit" ... >>> >>> Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) >>> for assigning and checking types. For example, to read data from a >>> file and check for errors: >>> >>> Read data from "in

Re: Python and Flaming Thunder

2008-05-21 Thread Dan Upton
On Wed, May 21, 2008 at 12:33 PM, Daniel Fetchinson <[EMAIL PROTECTED]> wrote: Or just: If command is "quit" ... >>> >>> Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) >>> for assigning and checking types. For example, to read data from a >>> file and check for

Re: Python and Flaming Thunder

2008-05-21 Thread Daniel Fetchinson
>>> Or just: >>> >>> If command is "quit" ... >> >> Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) >> for assigning and checking types. For example, to read data from a >> file and check for errors: >> >> Read data from "input.txt". >> If data is an error then go to

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 21, 10:00 am, "Dan Upton" <[EMAIL PROTECTED]> wrote: > Sounds to me like the teacher is being difficult, ... No, proof-by-contradiction is a common technique in math. If you can show that x=8 and x=10, then you have shown that your assumptions were incorrect. > If you can't do, or don't

Re: Python and Flaming Thunder

2008-05-21 Thread Dan Upton
On Wed, May 21, 2008 at 11:34 AM, Dave Parker <[EMAIL PROTECTED]> wrote: > For example, consider the two statements: > > x = 8 > x = 10 > > The reaction from most math teachers (and kids) was "one of those is > wrong because x can't equal 2 different things at the same time". Sounds to me

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
On May 20, 7:05 pm, Collin <[EMAIL PROTECTED]> wrote: > Personally, FT is a bit meh to me. The way you issue your statements I > always think something is wrong, mainly because when I want to define, > say, x, in python I'd go: > > x = "whatever" > > Instantly noting that I defined x. While in Fla

Re: Python and Flaming Thunder

2008-05-21 Thread Bruno Desthuilliers
Dave Parker a écrit : Or just: If command is "quit" ... Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) for assigning and checking types. For example, to read data from a file and check for errors: Read data from "input.txt". If data is an error then go to ...

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
> Or just: > > If command is "quit" ... Hmmm. In Flaming Thunder, I'm using "is" (and "is an", "is a", etc) for assigning and checking types. For example, to read data from a file and check for errors: Read data from "input.txt". If data is an error then go to ... Or when assigning a

Re: Python and Flaming Thunder

2008-05-21 Thread Dave Parker
> Personally (and borrowing from Python), I'd prefer something more > like: > > Write "Fa". > Repeat 8 times: > Write "-la". I actually kind of prefer that, too. Or Repeat 8 times write "-la". I'll think about it. Thank you for suggesting it. On May 20, 3:40 pm, MRAB <[EMAIL PROTECTED]> w

Re: Python and Flaming Thunder

2008-05-20 Thread Collin
Dave Parker wrote: I've read that one of the design goals of Python was to create an easy- to-use English-like language. That's also one of the design goals of Flaming Thunder at http://www.flamingthunder.com/ , which has proven easy enough for even elementary school students, even though it is

Re: Python and Flaming Thunder

2008-05-20 Thread MRAB
On May 20, 4:33 am, Dave Parker <[EMAIL PROTECTED]> wrote: > On May 14, 7:59 pm, John Salerno <[EMAIL PROTECTED]> wrote: > > > Would it be valid to say: > > > x = "concrete" > > > or to say: > > > if command (is) set to "quit" > > > ?? > > I like the idea of: > > If command is set to "quit" ...

Re: Python and Flaming Thunder

2008-05-20 Thread MRAB
On May 20, 4:20 am, Dave Parker <[EMAIL PROTECTED]> wrote: > > > I <[EMAIL PROTECTED]> wrote: > > > Plus, me getting paid to work on Flaming Thunder is far more > > > motivating than me not getting paid to work on Python. > > On May 14, 8:30 pm, John Salerno <[EMAIL PROTECTED]> wrote: > > That's tr

Re: Python and Flaming Thunder

2008-05-19 Thread Dan Upton
On Mon, May 19, 2008 at 11:20 PM, Dave Parker <[EMAIL PROTECTED]> wrote: > > For another example, I've always preferred languages that are English- > like because it's easier to return to your code after several years > and still know what you were doing (and it's easier for someone else > to maint

Re: Python and Flaming Thunder

2008-05-19 Thread John Salerno
On Mon, 19 May 2008 20:20:28 -0700 (PDT) Dave Parker <[EMAIL PROTECTED]> wrote: > To whit: you pointed out the awkwardness in Python of having to > declare a for-loop variable when you only wanted to loop a specific > number of times and didn't need the variable. Well, I wasn't so much trying to

Re: Python and Flaming Thunder

2008-05-19 Thread Dave Parker
On May 14, 7:59 pm, John Salerno <[EMAIL PROTECTED]> wrote: > Would it be valid to say: > > x = "concrete" > > or to say: > > if command (is) set to "quit" > > ?? I like the idea of: If command is set to "quit" ... I've added it to my list of things to think about, and possibly implement. --

Re: Python and Flaming Thunder

2008-05-19 Thread Dave Parker
On May 13, 11:42 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > Well, python will definitely never have a name that sounds like > a slang term for happens after you get food poisioning at a > Thai restaurant... :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Flaming Thunder

2008-05-19 Thread Dave Parker
> > I <[EMAIL PROTECTED]> wrote: > > Plus, me getting paid to work on Flaming Thunder is far more > > motivating than me not getting paid to work on Python. > On May 14, 8:30 pm, John Salerno <[EMAIL PROTECTED]> wrote: > That's truly disappointing. I guess I could have stated that better. Flamin

Re: Python and Flaming Thunder

2008-05-18 Thread Matthieu Brucher
2008/5/15 John Salerno <[EMAIL PROTECTED]>: > On Tue, 13 May 2008 06:25:27 -0700 (PDT) > Dave Parker <[EMAIL PROTECTED]> wrote: > > > > I'm pretty generally interested, but where can print layout take you? > > > > Not far, especially with books disappearing. Our library says that > > these days,

Re: Python and Flaming Thunder

2008-05-17 Thread Lie
On May 16, 3:58 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 15 mai, 19:30, Lie <[EMAIL PROTECTED]> wrote: > > > > > On May 15, 4:08 am, "[EMAIL PROTECTED]" > > > <[EMAIL PROTECTED]> wrote: > > > On 14 mai, 08:08, Lie <[EMAIL PROTECTED]> wrote: > > > > > On May 14, 12:51 pm, Lie <[EMAIL

Re: Python and Flaming Thunder

2008-05-15 Thread [EMAIL PROTECTED]
On 15 mai, 19:30, Lie <[EMAIL PROTECTED]> wrote: > On May 15, 4:08 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > On 14 mai, 08:08, Lie <[EMAIL PROTECTED]> wrote: > > > > On May 14, 12:51 pm, Lie <[EMAIL PROTECTED]> wrote: > > > > > And your 8 by 8 cross compiler doesn't impress me

Re: Python and Flaming Thunder

2008-05-15 Thread Lie
On May 15, 4:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 14 mai, 08:08, Lie <[EMAIL PROTECTED]> wrote: > > > On May 14, 12:51 pm, Lie <[EMAIL PROTECTED]> wrote: > > > > And your 8 by 8 cross compiler doesn't impress me at all, they're all > > > based on x86/IA-32 architecture which i

Re: Python and Flaming Thunder

2008-05-14 Thread John Salerno
On Tue, 13 May 2008 06:25:27 -0700 (PDT) Dave Parker <[EMAIL PROTECTED]> wrote: > > I'm pretty generally interested, but where can print layout take you? > > Not far, especially with books disappearing. Our library says that > these days, only 25% of their checkouts are books; the other 75% are

Re: Python and Flaming Thunder

2008-05-14 Thread John Salerno
On Tue, 13 May 2008 08:24:35 -0700 (PDT) Dave Parker <[EMAIL PROTECTED]> wrote: > I think that many people will find that Flaming Thunder is easier to > use and understand than Python I respectfully disagree. > Plus, me getting paid to work on Flaming Thunder is far more > motivating than me not

Re: Python and Flaming Thunder

2008-05-14 Thread John Salerno
On Mon, 12 May 2008 16:39:25 -0700 (PDT) Dave Parker <[EMAIL PROTECTED]> wrote: > I've read that one of the design goals of Python was to create an easy- > to-use English-like language. That's also one of the design goals of > Flaming Thunder at http://www.flamingthunder.com/ , which has proven

Re: Python and Flaming Thunder

2008-05-14 Thread MRAB
On May 14, 10:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Dave Parker schrieb: > > > All of the calculators and textbooks that elementary school students > > > use, use "^" for powers. > > I've never seen this symbol in textbooks. In textbooks, powers are > written using superscript.

Re: Python and Flaming Thunder

2008-05-14 Thread [EMAIL PROTECTED]
On 13 mai, 18:36, Dave Parker <[EMAIL PROTECTED]> wrote: (snip) > Also, in Python how do you assign a symbolic equation to a variable? > Like this? > > QuadraticEquation = a*x^2 + b*x + c = 0 quadratic_equation = lambda x, b, c : a*(x**2) + b*x + c == 0 or if x, b and c are supposed to be captur

Re: Python and Flaming Thunder

2008-05-14 Thread [EMAIL PROTECTED]
> Dave Parker schrieb: > > All of the calculators and textbooks that elementary school students > > use, use "^" for powers. I've never seen this symbol in textbooks. In textbooks, powers are written using superscript. >> Just like Flaming Thunder does. I haven't > > seen "**" for powers since

Re: Python and Flaming Thunder

2008-05-14 Thread [EMAIL PROTECTED]
On 13 mai, 19:05, Dave Parker <[EMAIL PROTECTED]> wrote: > > Just to support this statement: PHP runs an order of magnitude slower than > > python. Yet a great deal (if not the majority) of dynamic sites out there > > run under PHP. All of these are unhappy customers? > > The websites owners might

Re: Python and Flaming Thunder

2008-05-14 Thread [EMAIL PROTECTED]
On 14 mai, 08:08, Lie <[EMAIL PROTECTED]> wrote: > On May 14, 12:51 pm, Lie <[EMAIL PROTECTED]> wrote: > > > And your 8 by 8 cross compiler doesn't impress me at all, they're all > > based on x86/IA-32 architecture which is quite similar, no PowerPC, > > SPARC, ARM, no other CISC or RISC architectu

Re: Python and Flaming Thunder

2008-05-14 Thread J. Cliff Dyer
On Wed, 2008-05-14 at 13:27 -0700, [EMAIL PROTECTED] wrote: > On 14 mai, 00:41, John Machin <[EMAIL PROTECTED]> wrote: > (snip) > > IIRC the idea was so that managers could write programs in English. It > > failed because nobody could write a parser that would handle something > > like "The bottom

Re: Python and Flaming Thunder

2008-05-14 Thread [EMAIL PROTECTED]
On 14 mai, 00:41, John Machin <[EMAIL PROTECTED]> wrote: (snip) > IIRC the idea was so that managers could write programs in English. It > failed because nobody could write a parser that would handle something > like "The bottom line is that the stakeholder group requires the > situation going forw

Re: Python and Flaming Thunder

2008-05-14 Thread Luis Zarrabeitia
On Tuesday 13 May 2008 01:05:38 pm Dave Parker wrote: > The websites owners might not be unhappy, but lots of customers > complain about slow websites, so if the market is competitive then > eventually the PHP fad will die out. On my [modest] experience, bandwidth trumps code speed by a large frac

Re: Python and Flaming Thunder

2008-05-14 Thread Dotan Cohen
2008/5/14 <[EMAIL PROTECTED]>: > 8x8 is pretty easy to aim for. Turn on 16x16, and you're the laptop > to stand on. FxF? I'll see your 16x16 and raise you 32x32. Any number is pretty easy to aim for when one can arbitrarily invent 2nx2n. Dotan Cohen http://what-is-what.com http://gibberish.co

Re: Python and Flaming Thunder

2008-05-14 Thread castironpi
On May 14, 8:43 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > >>> That's also a myth.  For example, if C is easy to maintain, why is > >>> Flaming Thunder the only single-asset 8-by-8 shotgun cross compiler in > >>> the world?  There should be lots of single-asset 8-by-8 shotgun cross > >>> c

Re: Python and Flaming Thunder

2008-05-14 Thread Bruno Desthuilliers
Dave Parker a écrit : 5-10 times faster for what kind of code? Mostly numerical analysis Benches, please ? I mean : benches using Python's numpy or similar packages - that is, what anyone doing numerical intensive computation in Python would use. and CGI scripting. Is there anyone stil

Re: Python and Flaming Thunder

2008-05-14 Thread Diez B. Roggisch
>>> That's also a myth. For example, if C is easy to maintain, why is >>> Flaming Thunder the only single-asset 8-by-8 shotgun cross compiler in >>> the world? There should be lots of single-asset 8-by-8 shotgun cross >>> compilers written in C, if C is easier to maintain. >>Not only is it the wo

Re: Python and Flaming Thunder

2008-05-14 Thread Jean-Paul Calderone
On Wed, 14 May 2008 06:53:02 -0400, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: On Tue, 2008-05-13 at 10:33 -0700, Dave Parker wrote: > You sound like a commercial. Get Flaming Thunder for only $19.95! It slices, it dices! > And while programs and libraries written in assembly may be twice

Re: Python and Flaming Thunder

2008-05-14 Thread castironpi
On May 14, 5:53 am, "J. Clifford Dyer" <[EMAIL PROTECTED]> wrote: > On Tue, 2008-05-13 at 10:33 -0700, Dave Parker wrote: > > > You sound like a commercial. > > > Get Flaming Thunder for only $19.95!  It slices, it dices! > > > > And while programs and libraries written in assembly may be twice as

  1   2   >