Introduction
Writing this article actually originated from a question asked by a classmate in the QQ group of php Chinese website (374224296) at that time.
At that time, this classmate asked the group leader a very rare question, "LZ, how do you usually take care of your skin?"
After reading this, LZ couldn't help but feel happy, Afterwards, she couldn't help but show off to a certain Lulu with her mobile phone, "Look, look, you know now that your husband is handsome. People ask me how to take care of my skin, which means I have good skin. Wife!" , what do you think I should answer him? I'm really embarrassed, hehe."
A certain Lulu raised her eyelids impatiently and said, "Tell him, you used it. Called PS. "
##" "Um. PS..." Okay, this is a sad story. As the saying goes, there are no ugly women, only lazy women. LZ feels that this sentence is still appropriate for programmers, that is -There are no bad programmers, only lazy programmers.
Therefore, in this article, LZ is here to talk to you about how programmers should manage themselves, just like women manage themselves. So-called management The profession of programmer has always been overly deified or vilified outside. But in fact, the profession of programmer, like most professions, has nothing special. The only difference is that chefs rely on their own cooking skills to earn a living, while programmers rely on their own skills to earn a living, that's all. As a chef, if you want to become famous all over the world and make a career, you definitely can’t just improve your cooking skills. After all, there are so many people who cook delicious food, who do you think you are? The same goes for programmers. There are so many people with great skills, how can you rank in the world? Where can you rank in China? Where do you rank in your city? Saying this is not to say that technology is not important, but thatyou have to treat yourself as a whole to operate, and should not just focus on technology, because first of all, you are a person, Then you are the programmer.
To give a more vivid metaphor, everyone who has played "Legend" knows that if you want to be awesome in the game, you must not only have a high level, but also have good equipment, and you must also learn skills. At the same time, you must learn skills. In the future, you will also need to improve your skill proficiency so that you can crush others in terms of overall strength. Many times, life is the same as in games. You only know how to upgrade, but don’t know how to improve yourself in all aspects. In the end, you will still be completely abused by others. Therefore, the so-called management is to build yourself in an all-round way, just like the comprehensive development of morality, intelligence, physical education, art and labor advocated by the country. Then, how to build yourself in an all-round way, LZ will talk about it from several levels. Code level Whether a programmer is excellent or not, code is the most direct criterion. We will talk about what good code looks like next. Let’s first take a look at what good code looks like. After seeing this code, LZ is very aware of your inner anger. You must want to tear the person who wrote this code into pieces at this moment, but when you encounter In this case, LZ just wants to say to you, "For people who can write this kind of code, don't talk nonsense to him and kiss him." Ahem... After the kiss, let’s get down to business. In code, there are countless ways to write the same function.Although good ways of writing have no fixed format, bad ways of writing are basically similar.
In fact, you can search a lot of code specifications on the Internet, including some time ago, the php Chinese website also published aphp development manual, which is very detailed.
But to be honest, in LZ’s opinion, standardization is not as important as your quality. Just like the law, obeying the law can only make you a law-abiding citizen, but it does not make you a moral person. Therefore, it is naturally important to abide by the norms, but LZ personally feels that it is even more rare to have your own code literacy. In today’s article, LZ would like to talk more practically about how programmers can effectively improve their code-level literacy. LZ feels thatany programmer should build his own open source project in his spare time. As for the size of the project and what the project is, this is not important.
The biggest advantage of open source projects is that you can be more free and more refined to form your coding style. After all, in work, sometimes you have to make compromises.LZ here is a list that can let some students who want to write about open source projects but don’t know what to write know what kind of projects you can write from the beginning of your career to improve your own Code literacy.
1. For students who have worked for 1-2 years, LZ recommends writing their own personal blog at this time. Moreover, when doing it, it is best to use the web framework you are most familiar with, and try your best not to write a single line of redundant and repetitive code.
2. For students who are about four years old, LZ recommends writing a web framework by yourself. Once this framework is completed, it will not only provide your own technical level and code specifications, but also improve your own web development efficiency in the future
With these two open source projects, basically your coding literacy can be fully exercised . Of course, when writing these open source projects, please be sure to maintain your ingenuity, otherwise, no matter how much you write, it will not help.
In addition, I would like to add at the end that the above-mentioned figures of just starting work, two years and four years are only approximate and do not necessarily have to be at this time. This needs to be done according to your actual situation. Out of adjustment.
After talking about the code level, let’s talk about how programmers should manage themselves on the technical level.
Regarding the technical aspect, LZ wrote in "Is PHP difficult to learn?" How long does it take to learn PHP from beginner to proficient? 》This article has actually made it very clear, and it contains the technologies that PHP programmers should understand at all stages.
Therefore, in today’s article, LZ will not say much about the technical aspects. You can go to the above article to read it.
But regarding the technical level, LZ would also like to remind you that the technical level is more to assist your code level, so that you can write better code, don’t forget your The original intention is to indulge yourself in the ocean of technology and be unable to extricate yourself.
After talking about the technical and code levels, let’s talk about the social level, how a programmer should manage himself.
This aspect has always been a weakness of programmers. Programmers have always been known as "introverts" and "not talkative" by the outside world. It is not without reason. Many of the programmers that LZ has come into contact with do have this kind of personality, which is actually very detrimental to future development.
Of course, LZ doesn’t want to talk about the same nonsense on the Internet such as “you should find more people to communicate with” and “talk to people when you have nothing to do”. LZ wants to talk about how programmers operate based on LZ itself. own social circle.
Speaking of socializing, I have to say that LZ knows a lot of people in every company. In addition to LZ's character, this is actually mainly due to one of LZ's bad habits, that is - smoking.
The habit of smoking is not a good habit from any point of view. It is not a waste of money. It only costs a few hundred yuan a month. The main reason is that it is not good for the body.
But the only advantage of smoking is that you can get to know a large group of colleagues while smoking, and relatively speaking, the friendship between smokers will be simpler than that of ordinary colleagues.
It is precisely because of this simplicity that when you happen to find your smoking friend, most people will be willing to help. Because you know each other not because of interests, but simply because of a common hobby.
If you got to know each other because of work or even when you asked for help, then the friendship between you will usually be more distant than a simple smoker.
Speaking of this, it’s not that LZ wants to persuade everyone to learn to smoke, but that LZ thinks that every programmer should have a way to open up your social circle, and usually, this way is One of your hobbies.
To give you the simplest example, there were several circles in a company that LZ worked for at that time.
The first one is of course the circle of smokers, which is also the circle that LZ belongs to. LZ knows almost everyone in this circle. This is no exaggeration.
The second circle is the fitness circle. Every day at noon, a group of colleagues go to the gym to work out together, and then everyone goes to dinner together after the workout. This is also a circle.
The third circle is the circle of friends. Every weekend or holiday, some boring colleagues will make an appointment to travel or climb mountains together. This can be regarded as a circle.
If you get involved in any circle here, you can actually get to know a lot of people. Although LZ has always been just hanging out in the circle of smoking friends, fortunately this circle is not small, but what is more annoying is that there are almost no girls in this circle.
However, this has no impact on the married LZ.
Ahem...
Speaking of this, some students may also say, what’s the use of knowing these people? When you really need help, they may not be there. will help you.
Yes, that's right!
However, what LZ wants to say is that if you don’t know these people, you may not even have “someone who may not be able to help you.”
What's more, you don't blend into these circles just to let others help you. If you just enter this circle just to let others help you, then you are a bit too utilitarian.
Step into everyone’s circle,The most important thing you gain is that you have the opportunity to contact everyone, and have the opportunity to have a deeper understanding with everyone. This is exercise A good opportunity for your communication skills.
Learn how to communicate and exercise your emotional intelligence. This is the biggest purpose of integrating you into the circle.
Many students will probably complain when they see this, "I am just a homebody. Where can I fit into any circle? I have many friends in LOL, haha."
For this kind of classmate, LZ just wants to say, "For a hopeless person like you, you should learn from LZ and learn to smoke, haha."
Seeing this topic, some students may complain, "Isn't charm only for women? Men have a certain charm."
If you want to say that, you are totally wrong. As long as it is an individual, he has his own unique charm, which is why each flower attracts different eyes.
In the final analysis, charm is actually your aura, which mainly includes your image and your speech and behavior.
Regarding image, many programmers are very casual about this. You can often see unkempt and unshaven programmers appearing in companies and various public places.
This is a very bad habit, especially if it is serious. Even during the interview, you don't bother to clean yourself up. This really doesn't treat yourself as a human being.
When you go out, you must at least keep yourself clean and tidy. Many programmers go to work wearing slippers and a pair of big pants, and regard this behavior as a manifestation of freedom, and even take pride in it. This simply surprised LZ.
Please believe LZ, no one will like you with such freedom. Moreover, almost no one is willing to follow such a leader.
It is hard to imagine a scene where a CTO wears slippers to work all day long. If it is true, then LZ can only say that you must be a fake CTO. 80% of it is the title of the CTO and the salary of a programmer. , or even just a polished commander.
Therefore, If you still regard yourself as a human being, please maintain your own image and don’t let other people’s eyes pay for your laziness.
As for speech and behavior, LZ doesn’t want to talk too much here, because this thing is related to too many factors, such as your family environment, educational environment, personal personality, etc.
What LZ wants to say here is that no matter what kind of environment you grew up in, or what kind of personality you have, your speech and behavior should at least do one thing, that is ——Do not affect others.
As long as you can do this, LZ feels that you are basically qualified. As for how to become better, this requires support from many aspects.
In short, don’t underestimate charm. It is not only useful for finding a partner, it will also be of great help to your career.
Okay, this is the end of the story.
LZ does not expect this article to teach you how to be a good person, but hopes to remind programmers that sometimes, not only the world of feasting and feasting can make people addicted, but the same is true of the world of technology.
And sometimes, the world of technology is more terrifying than the former. It not only allows you to fall into it silently, but also gives you the illusion that you are very motivated and hardworking, so that By the time you suddenly realize it, it will be too late to regret it.
Therefore, LZ hopes that this article can alert some people that the technical level is important, but the code level is your fundamental purpose, and the social level and charm level are what will help you reach the top of your life. Indispensable.
Related recommendations:
How to become an excellent full-stack engineer by self-study?
Why was www.php.cn founded? The growth story of a programmer