Home > Backend Development > PHP Tutorial > During the interview, it is often mentioned, what is the difference between xx language and xx language? How should I answer this time?

During the interview, it is often mentioned, what is the difference between xx language and xx language? How should I answer this time?

WBOY
Release: 2016-08-10 09:07:29
Original
1353 people have browsed it

I am often asked during interviews, please tell me about the difference between php and nodejs, so I would like to ask if there is a fixed routine for answering such questions, and what aspects of comprehensive answers can satisfy the interviewer, thank you !

Reply content:

I am often asked during interviews, please tell me about the difference between php and nodejs, so I would like to ask if there is a fixed routine for answering such questions, and what aspects of comprehensive answers can satisfy the interviewer, thank you !

In fact, it’s not that complicated, it’s just a question to open up the topic. . Real interviewers are looking to explore your strengths and will first ask you a relatively broad question, such as the difference between php and nodejs

You may answer that php has advantages in script processing and development speed and framework, while nodejs has advantages in asynchronous and io balabala~

Then he will start to ask you questions that you may be familiar with based on your answers, such as the advantages, disadvantages and solutions of asynchronous nodejs, blocking, promises, etc., and slowly go into depth

Or ask PHP which frameworks you are familiar with, what are the advantages of each, and then go deeper. . .

So, don’t brag! ! Don't brag! ! Don't brag! ! Say important things three times.

If you don’t understand, you just don’t understand. There’s nothing to be embarrassed about, but don’t pretend to understand, otherwise you won’t understand any of the questions asked next. . If the interviewer asks you two or three questions that you are not familiar with, you can politely say, I'm sorry, I may not be familiar with these questions. I am more familiar with XX. . Be sure to ask the interviewer to ask about areas you are familiar with.

Recite silently in your mind: "What's the difference between your sister" a hundred times, and then tell him:

  1. The difference between strong type and weak type

  2. Language features, for example, JavaScript’s function is a first-class object, but Java’s method is not. For example, Python has Lambda expressions, but Java only supports them after 1.8

  3. Differences in application scenarios

  4. Then just talk nonsense

  1. Explain the differences at the language level

  2. Explain the differences in language application scenarios

  3. Explain the advantages and disadvantages of languages

  4. Pretend to be concerned and ask the interviewer: the application of two languages ​​​​at the company level, and then talk about this topic

There are deep routines inside, you can figure it out slowly

I think the main thing to answer this kind of question is to seek truth from facts. If you have used both languages, then talk about your feelings when doing projects in both languages, and what you think is more convenient and what is less convenient; if someone If you have never used this language or have never used it before, then you have to be more realistic...

Suggestions:
1. Understand the background of various languages ​​
2. Understand the characteristics of various languages ​​​​and the application scenarios of these characteristics

But don’t simply and crudely evaluate which language is good or bad. Only when the right language is used in the right scenario can the greatest advantages of the language itself be brought into play.

Generally, you won’t ask this question if you haven’t shown that you know multiple languages ​​in your resume. Let’s talk about the application scenarios, and then talk about your own experience of using it.

The difference between Chinese and English

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template