How can I use a programmer who has learned PHP for two months and does not know the difference between single double quotes?
Source: Internet
Author: User
This is the case. I recently saw the difference between Single and Double quotation marks in php in a q & A area of a forum in China. First of all, I think this justfuckinggoogleit problem should not occur at all, then I guess whether the questioner has been in contact with php for several days. There was a php scholar around me, 89 years old. I have been training java in a training institution for two years. netblabla (you may be able to guess what institution it is), because the company may need it in the future, the boss arranged for him to learn php, so he bought a set of "Let's talk about PHP, this is a model-like learning thing. Recently, in the Q & A area of a forum in China, someone asked about the difference between single and double quotes in php. First of all, I think this just fucking google it problem should not occur at all, then I guess whether the questioner has been in contact with php for several days.
There was a php scholar around me, 89 years old. I have been training java/in a training institution for two years /. net/blabla (you may be able to guess what institution it is), because the company may need it in the future, the boss arranged for him to learn php, so he bought a set of "Let's talk about PHP, I learned it for two months.
I had dinner together tonight and asked him the question of single double quotation marks. I don't know what to say ......
I am wondering why I haven't learned this basic, frequently-used, and drill-free question for two months. In my eyes, programmers who are a little bit technical are nothing more than "the logic is not clear, sometimes confused, not doing well enough, not pursuing best practices ......
Later, I thought it would be a normal situation for students of all levels in the school. The problem is, if one day I need to work with such people, how should I deal with them? Even if I don't trust to give the code to him, I am assigned to my position, sometimes it cannot be rejected. How can we make good use of such programmers?
UPDATE: The reason why I doubt the abilities of such people is that they do not go to google. Instead, they send a post on the Forum and wait for answers from others. For such basic questions, this is a waste of time for yourself and others.
Sorry, you are confused. In addition, I have also met the situation mentioned by @ passers-by. It is completely understandable that people cannot cover everything. I am very clear about this. Thank you for reminding me. Reply: When I wrote the first php program at school, I used single quotes. My teacher asked me why I used single quotes. He thought I could only use double quotes, later, I found that he did not know ajax. Although most people did not know ajax in that era, I still think that he is a teacher who is better than my niubility, because he can write code with clear logic and high reusability, but I cannot, I just know that using single quotes can improve the efficiency a little. LZ, my previous answers are impulsive. Later, I think the single and double quotation marks of PHP are quite special. The entry book should mention this. So I think LZ should mean that this person is not serious enough to do things ...... However, the individual's views cannot be generalized in this way. Moreover, people with a relatively high starting point are generally not very careful about learning a new language. I know some professors who learn python is purely fun and want to know about the new things of young people. Therefore, LZ can try to show your colleagues some projects that can be practiced and let them discover problems while writing.
================( I am the old answer line) ====================
Programmers pay attention to communication because they can learn from each other. I had an interview and I only learned C ++ for 2 months. I told the interviewer about the inheritance principle and possible problems of C ++ constructor, the interviewer has been working in C ++ for three years and told me that he heard about it for the first time. But people must be familiar with C ++. This type of detail problem cannot be explained at all. I just met a very good professor who will talk about a lot of details and experience in class, and I remember it carefully.
Therefore, LZ should complain about the author of the book. You may also need to review your understanding of PHP and not pick a good book for your colleagues when they need help! I don't know how to tell this person. There is no need to make such a long story. Everyone has blind spots and cannot be partial.
At work, I will learn about his overall level and learning ability. If he had been studying these concepts for two months, he would not have been familiar with these concepts. I am a mechanical major in my undergraduate course. I remember learning computer programming at the beginning. Many students are familiar with the number of bytes of various variable types and operator priorities, which I basically ignore, at that time, I thought that my computer programming was very poor, but in fact none of them finally engaged in programming, but I insisted that the most annoying thing to learn about programming was getting into details at the beginning, many people cannot pass the first three chapters of the book because of this problem, so they are not familiar with single quotes and double quotes. Even in actual use, they only have a slight performance impact, to add a variable to a single quotation mark, you can see it after debugging. To judge a programmer, first look at his ideas and then express his logic in computer languages.
You can understand these things after reading some documents, but it is hard to know them without reading them.
Similar to database fields, some people prefer to subscribe to tinyint smallint, and some people directly use an INT. Have you given him a chance to get in touch with a single double quotation mark? If you remember correctly, the difference is:
$ T = "xxx ";
$ X = "xxxx $ t ";
$ Y = 'yyyy $ T ';
Echo $ x; // xxxxxxx
Echo $ y; // yyyy $ t
If PHP programmers know that the front-end is robbing them of their business, they should take the initiative to take the initiative. Everyone has different ways of learning. what I often do is what I want to use and buy a book, read the first two chapters, jump to the knowledge points to be used, and then use them directly. If there is a problem, flip the book or search. In this way, if a knowledge point is not exposed, it will not be known.
I was not impressed by the knowledge points like double quotation marks. I learned from php in two months. The first time I started php, I wrote a corporate website using this learning method, news and message board functions can be published in the background.
Now let's look back and think about the source code. Of course, I cannot afford to read it again, but I think I cannot be able to learn enough. It circles always despise the chain...
If this type of programmer is really far from your strength, one day you two will not do things in the same level, and the meeting will become smaller and smaller.
Of course, small companies can't look up and look down... This only means that he has not learned deeply enough and does not need to be too arbitrary. In addition, even if some knowledge points are simple, there is a possibility of forgetting them if they are not often used.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service