Why do programmers write if else, and why should they be different from others?

foreword

       boring! This article is just casual writing! Sigh about the life of a programmer!

 

       I just saw the rating of an eighth-level programmer, so I wrote this essay. The rating is as follows:

       Immortal Programmer of the Eighth Level

  This level is the highest level for programmers. Your code outlives your life, and when you die, you will be part of the entire history. Other programmers worship you, and maybe you will win the Turing Award, the highest award in computing, or a series of extremely influential papers, or you will invent some technology that can affect the foundation of the entire programming world. What you have is not just an entry on Wikipedia, but a dedicated website to study your life and the results of your work.

  For example: Dijkstra, Knuth (author of the art of programming), Kay

 

  7th level successful programmer

  Such programmers are famous on the one hand and commercially successful on the other, and they have influenced the entire industry. They seem to determine the direction of development in the industry. These people, although their programming ability is great, it is estimated that their business ability should be greater than their programming ability. (I personally think Linus should fall into this category)

  For example: Gates (Bill Gates), Carmack (Doom and Quake 3D games), DHH (creator of Ruby on Rail)

 

  Level 6 Famous Programmer

  This type of programmer is relatively famous in the programming circle, but their fame does not necessarily bring them some kind of benefit. Fame is a good thing, but success may be better. These people are generally working for a big, well-known company, or a small, influential company, or are building their own business. Anyway, other programmers have heard your name and are following your example.

 

  Level 5 Backbone Programmer

  These programmers are generally the backbone of the company. They play the most important programming role in the company. Inside the company, they are respected by their bosses and other programmers. They will not lose their jobs, because they can be at any time. It's easy to find a job. The companies they work for grow because of them.

 

  Fourth level general programmer

  The beauty of these types of programmers is that they are well aware that they may not be a great programmer in their generation. Geniuses are only a few people. If such programmers have some business and people management skills, they will also be quite successful in the company. "Knowing oneself" is not easy. This is not something that ordinary people can do. People who can know themselves are already very good. If you find your strengths and work hard in that direction, you will definitely be very successful. Because in the company, there is not only one position of programmers, managers, PMs, processes, SQA, technical support, pre-sales, administrators, testers, etc. may make such programmers have a broader sky.

 

  third-level amateur programmer

  No matter whether they are from a computer science degree or not, they have a special hobby for programming. They may be some promising students or interns, and maybe they may make some contributions to open source (for example, providing some languages) Packages or some plug-ins or something), sometimes, they also write two small tool software and put them on the Internet for download, and sometimes they develop some small programs just for fun to pass their free time. They program entirely with enthusiasm and commitment. Interest is always the best teacher and the best thing, and the enthusiasm that comes with interest usually makes these programmers "backbone programmers."

 

  Level 2 Unknown Programmer

  Programmers at this level are typical programmers known to the public. They have a certain programming ability, but they are not outstanding. Maybe they will work in a large company, but programmers are just their job. Not all of their lives. Of course, such programmers are also very good. After all, ordinary people are still the majority, and there is nothing wrong with ordinary living.

 

  first class bad programmer

  Such programmers do not know why they embark on the road of programming, and they do not even have the most basic programming experience and ability. Everything they touch requires their colleagues to do it all over again, and they are not programmers at all. The programmer position may be a mistake for them.

     

      Which level do you belong to? I belong to the second level!

  

      I am a programmer. It has been almost two years since I graduated. My daily work is basically writing code, analyzing requirements, and then starting to write code in a confused way! I don’t know why I applied for a software major in a daze at the university. The school is not very good. Of course, my learning ability is not good. Basically, I didn’t learn anything in school. I was bored at school in December 2011. Going to Beijing to find an internship in an internship unit may be my destiny. The first internship unit developed the domain-driven design idea, and then I understood what real object-oriented development is! After staying for more than a month, I resigned when I was a regular, and then I went back to school! Then I realized that this was the first mistake of my life!

 

      After a few months, I came to Beijing again, and found another company. The team mainly develops software for internal development. In fact, every day is to add some functions and modify some bugs! Since then, I have started the life of splicing sql statements, and then I am writing some blood loss models to realize the function. This process is painful! Because it is process-oriented development, the project is full of incomprehensible if else and a large series of sql statements. I have been changing it like this until now, I want to ask the programmer why they write if else, is it fun to write?

 

      There is such a phenomenon: when many programmers leave the campus, most of them have dreams of success, great passion, and want to get high wages. At that time, we also have energetic and healthy bodies. With the passage of time, 5 years have passed, 10 years have passed, perhaps, the dream may gradually dim, and the passion gradually fades. However, our body is not as good as it used to be, and vision loss, chronic gastritis, cervical spondylosis, insomnia, neurasthenia, etc. follow one after another. These diseases have almost become occupational diseases in our industry.

 

     There are also many people who develop games. They say they like games and play games, but I can't be interested in games. Does this mean that I am not suitable to be a programmer? Programmers often work overtime and are voluntary. We only want to work overtime to fix bugs and run the program!

 

      Why do programmers do this? Is this good? Why not just change your state and make yourself not a slave to the code. In fact, there is no need for us to be the slaves of the code at all. As long as we program according to the object-oriented thinking, those boring codes may become vivid, so that the codes can reflect the real state.

 

      Although I am not a programming expert, just a rookie, but I also want to say that we programmers should really change our way of life, we should also change our programming style, make our life happy, don't bury our heads Know to write if else, splicing sql statement!

      Finally, a question, is it possible that if else does not appear in the program?

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326770982&siteId=291194637