Catherine !TGirlYJKXM started this discussion 12 years ago#35,020
my $retard;
$retard = param('Scale');
if ($retard <= "5") {
print "Pretty retarded and autistic.";
}
elsif ($retard >= "6") {
print "Not really retarded or autistic.";
}
elsif ($retard >= "11") {
print "Not an option, please select a number between 1 and 10.";
}
elsif ($retard == "0") {
print "Not an option, please select a number between 1 and 10.";
}
Anonymous B joined in and replied with this 12 years ago, 2 hours later[^][v]#482,053
> Consider all values less than or equal to five. > Consider all values greater than or equal to six. > Pretend to consider values bigger than eleven even though eleven is greater than six and I have already accounted for those values in a previous test and this is unreachable code. > Pretend to give a shit about zero even though a value of zero is less than five and I have already accounted for it in a previous test and this is unreachable code.
How retarded you are: 5.14132654
EDIT: Sorry. I downgraded the retardedness as I think this might be a joke post.
(Edited 8 minutes later.)
Anonymous C joined in and replied with this 12 years ago, 12 minutes later, 2 hours after the original post[^][v]#482,054
Anonymous B replied with this 12 years ago, 3 minutes later, 2 hours after the original post[^][v]#482,055
@previous (C)
I was hoping for a different response, but okay. I don't think Cathy is actually retarded.
Anonymous C replied with this 12 years ago, 11 minutes later, 2 hours after the original post[^][v]#482,056
@previous (B)
I just had to point it out; the retard scale Cathy drew up is literally... retarded.
Anonymous B replied with this 12 years ago, 5 minutes later, 2 hours after the original post[^][v]#482,057
@previous (C)
Good point! On the retard scale, I would give this post a 5.71823.
Bobby2Sox !!ztPBX/o0I joined in and replied with this 12 years ago, 29 minutes later, 3 hours after the original post[^][v]#482,058
I'm in there somewhere in R/L but I get by.
Anonymous E joined in and replied with this 12 years ago, 2 hours later, 6 hours after the original post[^][v]#482,061
-10
Anonymous F joined in and replied with this 12 years ago, 51 minutes later, 7 hours after the original post[^][v]#482,066
Why not just have it say (in whatever nerd language you're doing)
If retard >=1 and <=5 print "pretty retarded and autistic."
Elsif retard >5 and <=10 print "Not really retarded and autistic"
Else print "Enter a number between one and ten or I will fuck your dad"
Anonymous G joined in and replied with this 12 years ago, 51 minutes later, 8 hours after the original post[^][v]#482,074
you're pretty fucking retarded, hth
Anonymous H joined in and replied with this 12 years ago, 29 minutes later, 8 hours after the original post[^][v]#482,079
Elim joined in and replied with this 12 years ago, 24 minutes later, 9 hours after the original post[^][v]#482,095
Lmfao i voted '8' because a not-retarded person's poll would have been least to most retarded. You're pretty retarded
Elim double-posted this 12 years ago, 54 seconds later, 9 hours after the original post[^][v]#482,097
So 3
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 5 hours later, 15 hours after the original post[^][v]#482,165
@482,066 (F)
But then you would be able to enter 0 and 11+.
This is Perl by the way.
Anonymous H replied with this 12 years ago, 1 hour later, 16 hours after the original post[^][v]#482,168
@previous (Catherine !TGirlYJKXM)
...no. no you could not.
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 1 hour later, 17 hours after the original post[^][v]#482,177
@previous (H)
Don't you have to tell the script not to run the code after a certain number though?
If you enter 6 or 10 or even 12 into the textbox and you're only allowed to enter 1-10.
How does the computer know to stop at 10 without that line?
Anonymous H replied with this 12 years ago, 2 minutes later, 17 hours after the original post[^][v]#482,179
@previous (Catherine !TGirlYJKXM)
uhh what lets look at this step by step
If retard >=1 and <=5 print "pretty retarded and autistic." # IF THE NUMBER IS EQUAL TO OR HIGHER THAN 1 OR EQUAL TO OR LOWER THAN 5, DO SHIT. NUMBERS: 1,2,3,4,5
Elsif retard >5 and <=10 print "Not really retarded and autistic" # IF THE NUMBER IS GREATER THAN 5 OR EQUAL TO OR LOWER THAN 10, DO SHIT. NUMBERS: 6,7,8,9,10
Else print "Enter a number between one and ten or I will fuck your dad" # IF THE ABOVE CONDITIONS DID NOT MATCH, DO SHIT. NUMBERS: -1, 12, 99 bitches and aint got no problem
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 4 minutes later, 17 hours after the original post[^][v]#482,180
@previous (H)
Oh, I see it now, I missed the "<= 10" part.
Catherine !TGirlYJKXM (OP) double-posted this 12 years ago, 3 minutes later, 17 hours after the original post[^][v]#482,183
Let me rephrase my original statement.
my $retard;
$retard = param('Scale');
if ($retard >= 1 and <= 5) {
print "Majorly retarded and autistic.";
}
elsif ($retard > 5 and <= 10) {
print "Not really retarded or autistic in the slightest.";
}
else {
print "0 and 11+ are not options!";
}
Anonymous L joined in and replied with this 12 years ago, 4 minutes later, 17 hours after the original post[^][v]#482,184
Anonymous G replied with this 12 years ago, 19 hours later, 1 day after the original post[^][v]#482,293
Lets see: take a look at the threads you post, take a look at the life you're living, you consistently blame your bad life based on the town you live in but yet even though -I- lived in (probably) a much smaller town, was able to get my life in order.
You obviously have autism (minecraft threads, threads about what you had for lunch, etc)
this thread
So you are retarded.
(Edited 15 seconds later.)
The Captain !PundosRBSM joined in and replied with this 12 years ago, 5 minutes later, 1 day after the original post[^][v]#482,294
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 1 hour later, 2 days after the original post[^][v]#482,365
@previous (B)
Nope, must be a number between 1 and 10.
See @482,183 (Catherine !TGirlYJKXM)
Anonymous B replied with this 12 years ago, 8 minutes later, 2 days after the original post[^][v]#482,366
@previous (Catherine !TGirlYJKXM)
Well, that code does rule out -2 as an answer, but I have to take issue with your reply, "0 and 11+ are not options!" See, -2 is not in the set of integers (I'm assuming now that the response must be an integer, although this is hardly stated in your posts) included in "0 and 11+" -2 is neither equal to 0 nor is it eleven or greater than eleven, so I thought it might be okay...
A simple "Your're response must be between 1 and 10!" would have been fine. A "Your're response must be between 1 and 10 (inclusive)" would have been great. A "Your're response must range from 1 to 10!" would be awesome.
(Edited 9 minutes later.)
Anonymous O joined in and replied with this 12 years ago, 12 minutes later, 2 days after the original post[^][v]#482,369
quite
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 1 hour later, 2 days after the original post[^][v]#482,393
@482,366 (B)
Fine, let me rephrase for the third time.
my $retard;
$retard = param('Scale');
if ($retard >= 1 or $retard <= 5) {
print "You are retarded and/or autistic.";
}
elsif ($retard > 5 or $retard <= 10) {
print "You are not retarded and/or autistic.";
}
else {
print "Your response must range from 1 to 10!";
}
(Edited 20 seconds later.)
Anonymous B replied with this 12 years ago, 22 minutes later, 2 days after the original post[^][v]#482,396
@previous (Catherine !TGirlYJKXM)
That's pretty sexy. As much as I was hoping that you would try to put it into a switch statement (as numerous anons have urged), that code has a quiet simplicity to it. I like it. (Some small part of me wants to rewrite it with only four "less than" tests to optimize the instructions used, but I guess an optimizing compiler probably takes care of that sort of thing nowadays.)
Anonymous P joined in and replied with this 12 years ago, 2 minutes later, 2 days after the original post[^][v]#482,399
OPs retardation transcends numbers
Anonymous B replied with this 12 years ago, 12 minutes later, 2 days after the original post[^][v]#482,402
@482,396 (B) > optimizing compiler
Oh wait. Perl... and this is a thing that is getting called once in a while when someone responds...
Yeah, the code looks okay from here Cath!
Catherine !TGirlYJKXM (OP) replied with this 12 years ago, 3 minutes later, 2 days after the original post[^][v]#482,403
@previous (B)
This isn't any serious code. It was just me being dumb and using Perl as a written language.
(Edited 11 seconds later.)
Anonymous B replied with this 12 years ago, 1 minute later, 2 days after the original post[^][v]#482,404
@previous (Catherine !TGirlYJKXM)
Yeah, I get it. It's probably a good sign that you practice "thinking in code" like this. Rock on Cathy!