[2012-Jun-28] While Loop

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :?: :idea: :| (o~o) :geek: :[] :geek2: :][>:=~+:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: [2012-Jun-28] While Loop

Re: [2012 June 28] While Loop

Post by sotic » Sat Jun 30, 2012 4:16 pm

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

Re: [2012 June 28] While Loop

Post by Willa » Sat Jun 30, 2012 7:39 am

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).


I know it's valid syntactically. My question is what the point of the code is. It's not even funny.

Re: [2012 June 28] While Loop

Post by sotic » Fri Jun 29, 2012 8:06 pm

Willa wrote:
sotic wrote:
Willa wrote:Also, the loneliness/AHHHHH!!! code in the 2nd panel makes no sense whatsoever.

It's valid Python, except for a missing colon after the while clause.


Yeah, but why would you be saying "AHHHH!!!" while you had a low loneliness level?

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).

Re: [2012 June 28] While Loop

Post by Willa » Fri Jun 29, 2012 7:19 pm

sotic wrote:
Willa wrote:Also, the loneliness/AHHHHH!!! code in the 2nd panel makes no sense whatsoever.

It's valid Python, except for a missing colon after the while clause.


Yeah, but why would you be saying "AHHHH!!!" while you had a low loneliness level?

Re: [2012 June 28] While Loop

Post by Salacious Schoolmate » Fri Jun 29, 2012 4:51 pm

Edminster wrote:
Salacious Schoolmate wrote:I like ahh I respect ahh, ahh is a good name to have. Well done ahh, you chose a very good name, a memorable name.


Don't criticise ahh, that's nice, it's a basic sound, it's concise. I read somewhere a guy urging people not to simplify the words they use because you simplify your thoughts. However, simplifying your thoughts isn't bad, as long as you don't lose anything from it. Simple is good. And that's why I applaud ahh.

he doesn't have any beef with ahh

it's aah who is the object of ire


huh what

but I said ahh. That's what I said.

Re: [2012 June 28] While Loop

Post by Jewlian » Fri Jun 29, 2012 3:40 pm

The real joke is in the votey. What is this? XKCD?

Re: [2012 June 28] While Loop

Post by Salacious Schoolmate » Fri Jun 29, 2012 11:34 am

Xeno man wrote:The question is, did Zach not notice the small error, or did Zach do it on purpose just to screw with the readers that would check?


OH GOD IF ONLY THESE TWO POSSIBILITIES WEREN'T EQUALLY LIKELY

Re: [2012 June 28] While Loop

Post by sotic » Fri Jun 29, 2012 3:32 am

Xeno man wrote:sudo code

Hah! That means something totally different from psuedocode.

Re: [2012 June 28] While Loop

Post by Xeno man » Fri Jun 29, 2012 2:29 am

As sudo code, it is perfectly acceptable. The syntax of your preferred language is irrelevant. But really, you need to give Zach some creative freedom to simplify programming to something that the common man would be able to understand. The output however is incorrect as there is one AAAAAAH! missing. The question is, did Zach not notice the small error, or did Zach do it on purpose just to screw with the readers that would check?

Re: [2012 June 28] While Loop

Post by Edminster » Fri Jun 29, 2012 2:09 am

Salacious Schoolmate wrote:I like ahh I respect ahh, ahh is a good name to have. Well done ahh, you chose a very good name, a memorable name.


Don't criticise ahh, that's nice, it's a basic sound, it's concise. I read somewhere a guy urging people not to simplify the words they use because you simplify your thoughts. However, simplifying your thoughts isn't bad, as long as you don't lose anything from it. Simple is good. And that's why I applaud ahh.

he doesn't have any beef with ahh

it's aah who is the object of ire

Re: [2012 June 28] While Loop

Post by GUTCHUCKER » Fri Jun 29, 2012 1:57 am

Don't ask me either.

Re: [2012 June 28] While Loop

Post by Salacious Schoolmate » Fri Jun 29, 2012 12:40 am

I like ahh I respect ahh, ahh is a good name to have. Well done ahh, you chose a very good name, a memorable name.


Don't criticise ahh, that's nice, it's a basic sound, it's concise. I read somewhere a guy urging people not to simplify the words they use because you simplify your thoughts. However, simplifying your thoughts isn't bad, as long as you don't lose anything from it. Simple is good. And that's why I applaud ahh.

Re: [2012 June 28] While Loop

Post by Oldrac the Chitinous » Thu Jun 28, 2012 11:32 pm

Yes, let's all take naming advice from a guy called "aah".

Re: [2012 June 28] While Loop

Post by aah » Thu Jun 28, 2012 9:39 pm

Horrible naming convention.

Re: [2012 June 28] While Loop

Post by sotic » Thu Jun 28, 2012 5:33 pm

BoomBoom wrote:There's a missing "AAAAAAH!" in the output...

Maybe output is unbuffered and the computer is really, really slow.

Willa wrote:Also, the loneliness/AHHHHH!!! code in the 2nd panel makes no sense whatsoever.

It's valid Python, except for a missing colon after the while clause.
Should have been a for loop though.

Top