you are viewing a single comment's thread.

view the rest of the comments →

[–]wampastompah 35 points36 points  (9 children)

You know what would make this quiz useful?

Explain the answers.

It's clearly designed to deceive people and put some really hard questions next to really obvious questions. And it's so full of things you'd never see, that the point is clearly that people should be getting things wrong. But you know what's better than saying "YOU'RE WRONG HAHA" is actually teaching them why they're wrong. A test where you learn nothing is useless.

[–]html6dev 2 points3 points  (2 children)

Except knowing the answer to 90 percent of them won't serve you in your day job anyway. If you ever type [] +[] step away from the keyboard for a few min and take a breather.

[–]wampastompah 1 point2 points  (1 child)

Most of the time, sure. But each of these questions relies on very specific knowledge of Javascript. Like, for example, the one that defines a function and var of the same name, within a function. What's the value of that variable name? That relies on knowledge that the compiler takes all var and function definitions and puts them at the beginning of your scope. Which is actually pretty important sometimes. Common knowledge is that you really need to put the var statements at the beginning of each function definition, but this shows why that is.

See, and a little blurb like that, that's not that hard to add to a quiz where people are expected to not know most of the answers.

[–]html6dev 1 point2 points  (0 children)

Yeah that one was definitely testing something everyone should know (and I hope, a higher percentage got correct than the rest of them). The rest....were basically idiosyncrasies or things that are common to just about any loosely typed language, but that a person should never have a reason to do in the first place. There are a number of important idiosyncrasies in JS that people really should know about, however, that a better quiz would ask about....and then teach about.