Maybe a stupid idea
From: sebb (sebb_at_linuxcult.com)
Date: 12/31/03
- Next message: Jeff Epler: "Re: timing a web response using urllib.urlopen??"
- Previous message: Gary D. Duzan: "Re: GO AHEAD -MAKE ME LOOK DUMB- Please"
- Next in thread: Kirk Strauser: "Re: Maybe a stupid idea"
- Reply: Kirk Strauser: "Re: Maybe a stupid idea"
- Reply: John Roth: "Re: Maybe a stupid idea"
- Reply: Michael Geary: "Re: Maybe a stupid idea"
- Reply: Mark McEahern: "Re: Maybe a stupid idea"
- Reply: Gabriel Genellina: "Re: Maybe a stupid idea"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Dec 2003 09:49:55 -0800
I'm kind of newbie to programming, but I thought of something and I
want some opinions on that.
It's about a new instruction block to do some cycles.
I thought about that because it's not very easy to program a cycle.
Here is a simple example :
b=0
while b < 50:
b+=1
print "*" * b
while b > 0:
b-= 1
print "*" * b
It takes two while blocks to do a cycle.
I know that cycles is not a structure of any programming language, but
I want some opinions the know if my idea is stupid or not.
If the idea is not so stupid, python may be the first language to have
a completely new structure block :-)
Note : English is not my mother tongue so the message can have
mistakes.
- Next message: Jeff Epler: "Re: timing a web response using urllib.urlopen??"
- Previous message: Gary D. Duzan: "Re: GO AHEAD -MAKE ME LOOK DUMB- Please"
- Next in thread: Kirk Strauser: "Re: Maybe a stupid idea"
- Reply: Kirk Strauser: "Re: Maybe a stupid idea"
- Reply: John Roth: "Re: Maybe a stupid idea"
- Reply: Michael Geary: "Re: Maybe a stupid idea"
- Reply: Mark McEahern: "Re: Maybe a stupid idea"
- Reply: Gabriel Genellina: "Re: Maybe a stupid idea"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|