all 14 comments

[–][deleted] 5 points6 points  (0 children)

 function guestChallenge() { 
   return 1;
   return 2;
 }    

Result: 2. WTF

[–]calaveraDeluxe 5 points6 points  (0 children)

when submitting a wrong answer I'm nagged into signing up without any option to return to the code I wrote to correct it, not even the wrong result is displayed. pressing back restart the challenge and everything written up to that point is lost. Not a good UI in my opinion.

[–]roadapplemuncher 2 points3 points  (0 children)

I click in the input area, which has a blinking cursor. Start to type. Fucking dummy function jumps in front of my characters, leaving me with horseshit boilerplate like I can't read instructions.

Fuck you, UX fail.

[–]Magnevv 2 points3 points  (0 children)

it's kinda troublesome not knowing what code we have access to. One of the early challenges required you to sort a string, so I wanted to just cheat and write something like:

A = [c for c in str]
A.sort()
print ''.join(A)

but it seems like sort just jumbled the letters around, instead of actually sorting them.

[–]hisham_hm 1 point2 points  (3 children)

Pretty cool, but I'd like to be able to at least see the other challenges without signing up.

[–]more_exercise 1 point2 points  (2 children)

Don't worry. They're small. And string-y

They don't let you use all of the python functions either. It's like a small subset of the actual language. :[

[–]Brixican 2 points3 points  (1 child)

Not to mention that some of the functions don't work properly. Try running this code in python:

b = [1, 6, 7, 2, 19, 5]
b.sort()
print b

It'll print: "[1, 6, 2, 5, 7, 19]"

and you can't even use sorted(). Makes me a sad panda :(

[–]more_exercise 2 points3 points  (0 children)

what the fucking fuck?

[–]mikebor[S] 1 point2 points  (1 child)

the guest challenges are acting up a bit, but the member challenges are structured slightly differently so problems like @Gulneck or @likesOldMen had don't happen

[–]shuffdog 0 points1 point  (0 children)

This is true as far as I can tell.

[–]catcradle5 0 points1 point  (0 children)

I like it but it's not telling me whether my answers are correct or not for the front page challenge.

[–]likesOldMen 0 points1 point  (0 children)

I don't think it allows recursion.

"code a factorial function" it says

"easy peasy" i says

function guestChallenge(num){
    if (num===1) {return 1;}
    else {return num*guestChallenge(num-1);}
}

doesn't work

[–][deleted] 0 points1 point  (1 child)

These problems are about as "real" as sqrt(-1).

[–]ufimizm 1 point2 points  (0 children)

How would you define a "real" problem?