Challenge against humanity | Sololearn: Learn to code for FREE!


Challenge against humanity

I'm writing this post while I'm trying to start my chainsaw. I was solving JS challenges today and I came across this: What is the output of this code? var x = "a",y = "b",z = "s", a = "t", b = "j", c = "."; if((1<=1) && (1>=1)) { x = z, y = b, a = c; alert(a+y+x); } else { y = z + b, x = b, z = a; alert(y+x+z+z); } Let's answer few questions! Does it teach you how to use JS? - No. Does it have practical use? - No. Does it infuriate you and make you want to kill people? - Oh, hell YES! How is this related to programming? This is the epitome of pain! The person who made this hates humanity. Actually, I'm not sure if it was a human being. It probably was a pterodactyl. And then community asks: "How to make approvable quiz?" There you go, just make it as crazy as possible! Don't worry about how users will feel about your quiz! You make quizes not because you want to make this app better, but because you want to get the shiny badge. Few words about reviewers. Do you know who likes challenges like this? Hitler. What's the conclusion? Stay calm. If you feel like you're crazy, don't make quizes. If you're not human being, don't hate people and stay away from this app. I give 10,000$ for the head or the name of that pterodactyl. Post his name in the comments if you recognize this quiz. I would rather his head. Finally, my chainsaw started! Now I'm gonna visit my neighbours first. They are good people, but today is not their day. Bye-bye.

8/23/2017 11:59:08 AM

Igor Makarsky

41 Answers

New Answer


"My original instinct was to pull out -- and, historically, I like following my instincts, but all my life I've heard that decisions are much different when you sit behind the moderation desk. In other words, when you're a quiz moderator of Sololearn. A withdrawal would dishonor the quiz reviewers who died rating such quizzes in JS and could create a vacuum that would allow pterodactyl network to expand, as they did after the full withdrawal of quiz reviewers in Ruby." "I will not say when we are going to hunt down those pterodactyls, but hunt we will." "By following the heroic example of those who fought to preserve good quizzes, we can find the inspiration our programmers need to unify, to heal and to remain one community under SoloLearn." "When one part of SoloLearn hurts, we all hurt. And when one quiz reviewer or a challenger suffers an injustice due to pterodactyls, we all suffer together. Loyalty to our community demands loyalty to one another. Love for SoloLearn requires love for all of its users." "We will keep our eyes wide open for this damn pterodactyl." - Not Trump.


I'm feeling bad for that pterodactyl. :(


wait until you come across the other one in the series that looks almost the same, but the answer is just "js"... sorry about the spoiler πŸ˜ƒ


@$Vengat I'm a PHP developer 😁


No, I'm not. It was just a joke, I don't have it ☺


The quiz is easy but it will take much time to figure it out!


just tested this even with due diligence got it wrong. this was the one of the most amazing quiz i saw today that person must be something...


Quiz factory is messed up pretty bad there is no denying it. I've seen some ridiculously long quizzes being approved while all of mine that were a bit on the hard side got all downvoted. Also if you try to make simple quizzes usually they are declined because of "too many similar qs". Challenges aren't worth a dime anyway they do not test your problem solving skills at all.


I gave up on challenges over a month ago, because of questions like this. (plus, it's really addictive- started to get in the way of other stuff). I have submitted 17 quizzes & only 1 got approved. That one that got approved was similar to this β€”pointless & time-consumingβ€” but I created it anyway, just to get an approval. (I'm not proud of it πŸ˜₯). Sadly, that's the truth these days. There are barely any unique quizzes left, so if you want to get yours approved, make it ridiculous. Or just stop playing challenges, like me.


Personally I think the quiz is fine as it doesn't require arithmetic although it's a little bit convoluting. This type of question exists in Java and C# as well as I've seen scrambing variable names via optional/named parameters in C#. I like the challenges in SoloLearn as it have a good mix of theory questions and brain teasers and you'll be able to get it right if you're calm enough. If time limit is a constraint, maybe the question can be edited as a MCQ. As a side note, sometimes the question get easier if you trace it from bottom to top. πŸ˜‰ Disclaimer: I'm not the code author and not that good in JS.


LOL @Igor... Hilarious post. I find these type of questions to be pretty silly as well. They make me question whether the people approving these questions have much experience programming professionally or maybe they just favor brain teasers over practical challenges. I must admit, I was annoyed early on with these kind of questions. However, I've grown to like them a bit when I see a new one for the first time. The more of these I've seen, the better and quicker I am in getting new ones right the first time.


12 quizzes submitted so far, 11 rejections, like #Too many similar questions already exist What is the output: dict = {1: 2, 2: 5, 3: 8} print(dict.get(3, 5) - dict.get(8, 3)) :(


Like Nomeh said, the question isn't hard. But for the time given, it'll be damn near impossible. Especially for a newbie. I'd probably just look at the question & wait for the countdown to expire...


Ugh, Yes @Krishna. I've deleted the duplicates πŸ˜„


Today my first 1st quiz was approved ^_^ (though it's output selection seems altered a little from the one i submitted?) looking forward to submitting more in the future :)


What kinda job do you have, Igor, that requires the use of dangerous equipment such as chainsaw, in Belarus?


Calculations in challenges are really complex and sometimes, they are hard to be solved in 30s



@Hatsy πŸ˜†πŸ˜‚πŸ€£πŸ˜…


Not a chainsaw developer are you? πŸ˜‚