94

Took an interview today.

Me - What do you think JavaScript is interpreted or compiled.

Guy(5+ years of UI exp) - It's neither of them. It just runs on browser.

At that moment I slowly started fading away into a black hole for the absolute peace and embrace death.

Comments
  • 21
    This is what Wordpress or Drupal does to people
  • 16
    Ha! What an idiot! Who doesn't know that JS is a compiled language!
    ;)
  • 6
    @tahnik just saved this perfect moment: http://imgur.com/a/k8Kum
  • 7
    @altermind this is why I love you guys so much 😀
  • 2
    @tahnik you did it !!!!!!!!!!! I've been watching it creep up from. 10000
  • 2
    And he wonders why he isn't given responsibly of core functions
  • 0
    Well it's both, depending on what you want to do :3

    Asm.js is fun
  • 4
    Can anyone give the correct answer? I'm new to js. Google and SO says "it is basically interpreted to the js engine in the browser. But some engines like v8, compiles it to machine code to improve performance".
  • 1
    @Raamakrishnan what you found is correct
    Depending on the implementation it's either purely interpreted or just-in-time compiled. The end result is basically the same: a text file you can execute
  • 0
    @ElectricCoffee Thank you!😊
  • 1
    Oh Jesus. Oh Jesus no. T_T
  • 3
    A language is just a language. The dichotomy of interpreter vs. compiler is an implementation detail. Some languages are easier to implement one way, some the other way.

    In short: JS is neither, but the common implementation is JIT.
  • 0
    @elleshort it does make a difference. Think about variable hoisting in JavaScript.

    Also, the hiring was for someone who's core work in gonna be on nodejs!
  • 0
    @elleshort i agree that happens. The judgment that they stay or not didnt just hinge on this one question though. Not that they didn't know anything else too. The interview was about an hour of getting to know variety of language/technology understanding that they CAN work with.

    The reason I rejected was his attitude.
  • 2
    UI guys are usually design only. I'd be more concerned with their design skills than their knowledge of coding. This would be like asking me what is the difference between an aspirated engine and a naturally aspirated engine.

    The correct answer is it has fuck all to do with my job, so why are you asking me it?
Add Comment