3 ms·
#18 stands out to me. The question the guy is asking is a straight up math problem. I don't know about the average person here, but who often needs to calculate
by MeinBlutIstBlau 6y ago
#18 stands out to me. The question the guy is asking is a straight up math problem. I don't know about the average person here, but who often needs to calculate the area of a circle of determine factorials on a daily basis of coding? I can understand if you are in a field with the actual sciences or in gaming regarding physics. But for those of us who just manipulate data all day, why would you ask that question? We know how to program, not to do math. Sure if you gave us time to learn about how to do that kind of math we could figure it out, but on the spot asking "Do this math problem but in code" is like telling a construction laborer at an interview "What would you estimate is the proper weight of concrete laid upon a steel beam 200ft long?"
- setpatchaddress 6y agoThose questions are perfectly reasonable sanity-check tests of basic programming skills (functions, loops, basic arithmetic). That person is not assuming you know how to calculate Pi -- they're telling you how to do it as part of the question.
- MeinBlutIstBlau 6y agoHow can someone be expected to know how to code something if they don't understand the basic concept related to the question? The only time I've ever seen an equation like that was in Trig or Discreet math. Both of which were college level courses. None of which were in basic loops or arithmetic I've learned in actual introductory classes. I cannot calculate the area of a circle without a Unit Circle. I'm sorry but that's just incredibly unfair to assume people just remember all the Trig they did like it was yesterday. Trig's easy, but who uses it on a daily basis? Machinists and Architects probably use it far more than we'll ever use it.
- jevgeni 6y agoThe question in the article doesn’t use trig. You only need a bit of an idea of how loops work and be able to recognize patterns.