Programmers should write the front-end code.

Source: Internet
Author: User

You can think that I am an exclusive person, just as many people focus on their own fields and focus on other "superficial" areas of work. For example, I have seen a lot of comments that there is no technical content in the portal, and projects are full of hard work. Recently, there are some crazy complaints from the "Big Data" fans ...... My extremes are somewhat different. My extremes are that I think the vast majority of excellentProgramPersonnel, you have to try many things. Not only is underlying development or machine learning full of wise challenges. After several years of website development, it is hard to say that this is my initial interest. Although I am also engaged in and learning other fields, however, I still feel that website creation is still full of challenges, and the Internet is a wonderful place.

Front-end development is an important aspect of this "multi-faceted issue. People who have tried it with great concentration may experience this experience. This is a brand new world, and there is a fresh sense of concept and skill. If you haven't tried it yet, believe me, it will enrich your horizons, at least in design and coding, and you will have a new understanding.

JavascriptCodeThere are many inherent defects. You can find too many alternatives and improvement products. On the other hand, it does give programmers few restrictions-if you have written Perl code, you probably have a deep understanding of what kind of code is free code, what kind of code is poetic code. The opposite is probably a Java code with strict syntax. Just like a honest, regular child, it won't bring much damage to you, but it won't bring you a wealth of code aesthetic. However, JavaScript has more than N class libraries, more active syntax freedom, Eval and prototype, and dynamic language features. You can write a lot of elegant code.

On the other hand, the freedom of code must bring about the art of Code-level planning and decoupling. If the code is still in the warm-up phase of global VaR and global function, you cannot feel this, and JavaScript code cannot be written at this stage. Many people say that front-end development is simple. If you just think of it as "Easy to use", or use alert as a string to change the color of a DIV, then it is really easy to learn. Coupled with the convenience and simplicity of CSS, it connectsProgramming LanguageHTML is a highly fault-tolerant markup language, so you can easily write an interface that can see the effect.

Writing a product code with a slightly more complex UI will feel the power of planning and decoupling. Whether it is HTML, CSS or Javascript, variables or objects are easily contaminated, and "modularization" plays an important role. In the world of Java, you have very few weapons. packages, classes, and loaders simplify the tedious modular work easily when you are unconscious. However, when writing the front-end code, you need to consider it yourself, such as page block layout, CSS inheritance tree, JavaScript binding, and anonymous functions, there are also so many open-source libraries to help implement modularization.

Front-end development can also help you become a programmer who understands the product UI. Programmers tend to fall into the quarary of using various technologies to struggle with implementation, but ignore clear and reasonable user needs. The interface you write is designed to help users solve problems. Whether it is layout design, color scheme or behavior feedback, it will always help you focus on your actual operations. Writing front-end code can help you easily communicate with users and quickly develop an interface prototype, which is better than how many pages of film are. Less artist and UI Designer, try to design the interface and cut the graph and write the style by yourself. These things are not that difficult, let alone Bootstrap. :)

During front-end development, you can also feel the fastest sense of accomplishment and feedback. You only need a browser and a text editor highlighted by code. Well, maybe you need a little bit of tool to help debugging. This is enough. You don't have to worry about the compilation and execution process. Wait for the application to restart and cursing the tedious environment deployment. Now, you can focus on your code design and writing.

Front-end development should be an important tool in the engineer toolkit. Programmers in China generally have a wealth of engineering skills and academic fields, but this does not mean that engineering skills lack value. For example, you can make anything interesting and valuable. If you write the front-end code, you can do your own website, and you can complete the end-to-end process without the help of others, regardless of whether you launch a product or demonstrate your great achievements. You can really stand alone. This also fits with what I said, where programmers have to do everything.

Finally, I would like to remind you that the materials learned from front-end development are very important. Just like VB will harm new programmers (and this will affect many years), front-end code is too easy to write and needs to be filtered out.

Address: http://www.oschina.net/news/36972/programmer-write-frond-end-code? From = 20130127

I'm hongten

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.