I know it's valid syntactically. My question is what the point of the code is. It's not even funny.sotic wrote:Any nonzero value is true in Python. Anything but false or nil is true in Ruby, which the code is also almost valid in (missing do ... end).
[2012-Jun-28] While Loop
-
- Posts: 13
- Joined: Tue Jun 26, 2012 8:13 pm
Re: [2012 June 28] While Loop
"If you can't control your peanut butter, you can't expect to control your life." - Bill Watterson
- sotic
- [Insert Here]
- Posts: 325
- Joined: Thu Aug 04, 2011 5:55 am
- Location: Wisconsin
- Contact:
Re: [2012 June 28] While Loop
Iduno, when you've been programming for a while you start to forget about what makes sense to the end user in favor of what makes sense to the computer ¯\°_o/¯
Humor is meaningless to me
Humor is meaningless to me
Wind catches lily / Scatt'ring petals to the wind: / Segmentation fault