Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
xnor15268yCan 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".
-
@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 -
elazar10308yA 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. -
@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! -
@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. -
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?
Related Rants
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.
undefined
interviews
wtf
javascript