I had a mock interview with a 35-year-old programmer, and in the end I was a little panicked...

This article comes from a personal experience a few days ago. It is not a title party, but a mock interview for students.

Screenshot of part of your resume
Insert picture description here

Insert picture description here
Insert picture description here

Just take a look, you can know that this is a programmer of 85 years, I have been in touch with some old business of the bank before, so let's understand it briefly.

Telephone mock interview

First, just ask the
interviewer with more than 10 years of work experience, but the resume is only 3 pages. It can be said to be very concise. From programmers to project managers, R&D managers, and technical directors, they have done it all over, including Java/PHP/Python/C# Involved.

During the conversation, he said that technology + management can be done, and then I asked some technical questions, and he said yes.

Blogger: Do you have any experience in Internet distributed related project development?

Interviewer: Yes, that XXX project is

Blogger: Okay, I saw it. I think this project is made with Dubbo framework, why use Dubbo? What role does Dubbo play in your entire project?

Interviewer: Do service governance, the bottom layer is ZK...

Then he kept talking about the relationship with ZK, and I didn't understand it very much. No matter how I guided, I didn't make it clear what role Dubbo played in the project.

Blogger: Can you tell me how to deal with the call timeout when the service and the service call each other?

Interviewer: Overtime, (after thinking for a few seconds) it should be an error

Blogger: Are you sure it is an error? (He thought for a while, didn't speak, then I continued) Is there no retry mechanism? What is the retry mechanism?

Those who have done distributed projects know the retry mechanism. At least read operations must support retry. If write operations support retry, the callee must support idempotence, otherwise it will cause repeated writes.

Interviewer: (thinking about it again) This project has been a bit long, I don’t remember this very much...

Then I took a look at this project, which was done in 2014, 6 years ago, and he said that he didn't remember it for too long, and that was justified.

Blogger: OK, this project you have done recently, can you introduce its overall structure?

Interviewer: We used MQ, Redis, and... (he said a lot, but didn't mention the point)

Blogger: What I want to ask is, from top to bottom, how are these technologies carried over, and what is the overall system architecture? (Because it is a mock interview on the phone, otherwise I want him to draw pictures)

Interviewer: Uh... I know what you mean, mainly because I really don't know how to express... (Then he stopped talking and the scene was embarrassing)

Blogger: It’s
okay. Let me ask you a design question. If there is an interface and five implementation classes, the current requirement may need to add a method to the interface. This will change the five implementation classes, but the requirement only needs to change two of them. How to design an implementation class?

Interviewer: Then you can only write the method in two implementation classes... (I haven't come up with a good plan after thinking about it for a long time)

In fact, there are at least two options here:

  1. You can define another abstract class to implement this interface, add this method to the abstract class, and then the other two implementation classes can implement this abstract class.
  2. Use the new features in Java 8 to add default methods or static methods to the interface

So, in fact, here I want to test his design ability on the one hand, and on the other hand, I want to understand his application and mastery of all aspects of the new features of JDK.

There are more design options, I only listed two here, if you have more and better ideas, you can click here to join the QQ skirt to communicate

Blogger: Okay, it's okay (after working for so long, some in-depth techniques are not available, just ask some basics)

Excuse me: What is the difference between Java interface and abstract class? (Actually it is the answer to the previous question)

Interviewer: Uh... (thinking for a long time) It seems that the implementation method can be written in an abstract class or an interface (unsure answer)

Blogger: Which method can be written?

Interviewer: (Speaking vaguely, and stopped talking at all later, the scene fell into embarrassment again...)

It's almost over here. I want to ask you whether you have done Java before. This is very basic.

I feel that this student has received a serious blow and has a shadow on the Java industry
Insert picture description here

This interview is not ideal. It can even be said that if it is a real interview, it will be hung up at the beginning. For programmers, they have gotten older and cannot keep up with their skills. There is no way to grab a job with young people. This is reality.

As I get older, I feel that I really can’t write the code myself, and people are becoming more and more anxious. What can I do? No business!

The only thing I can do is to continue to work towards my desired position or goal, constantly improve my hard power and basic skills, the harder I work, the luckier I will be. Only in this way can I face my increasingly anxious myself and welcome more opportunities in the future.

Many young people nowadays are very powerful, young and promising, but there is a saying that they are late bloomers, and it’s not too late. There are countless examples of this. I want to believe that as long as you keep learning and improve yourself There will be a successful day.

Finally, if you are interested, you can click here to join the QQ skirt to communicate

This article only represents a personal point of view, not necessarily in line with everyone, but don't like it. If you find it useful, please use your little hand to like and forward it. Thank you for your support.

Come on, everyone!

Guess you like

Origin blog.csdn.net/yueyunyin/article/details/108855768