4 ms·
Yeah, I don't remember is a perfectly valid answer to a question like that IMO. Especially in any language where you have suggestions in your IDE, just remembe
by reificator 8y ago
Yeah, I don't remember is a perfectly valid answer to a question like that IMO.
Especially in any language where you have suggestions in your IDE, just remembering where it is would be fine. "Oh yeah that's in the IO.Sensors namespace" or wherever it is.
If there are some incredibly common pitfalls or footguns, those are a better test, especially if you can ask something like what the difference between two methods is. But even that is pushing it.
Operators, on the other hand, I think are fair game. If you're doing Javascript you'd better be able to tell the difference between `==` and `===`, even if the answer is "== does magic things that surprise people and I don't remember what they are, so I stick to ===".