Think more about less coding: More code, more problems

Source: Internet
Author: User

About a year ago, I wrote some PHP Web programming code-MicroPHP Manifesto. But I found that there are some common programming/coding rules between different languages, which may be some of my gains after I am familiar with various programming languages.

The following are some of the rules I have summarized and should be kept in mind in practice.

Learning languages rather than frameworks

I like PHP, Python, and JavaScript, and I like to use them to do something. However, I am not a Symfony, Django, or jQuery developer.

I think there is a big difference. A person may become a jQuery programmer, not a JavaScript programmer, or a Django programmer rather than a Python programmer. In practical applications, there are indeed many valuable and useful tools and frameworks, but if I only know how to use a framework, the point I want to express is that using only suitable tools at work will actually impose some limitations on tasks. You can check out the tools you use and see the frameworks you use. In my experience, some complex full-stack frameworks are not very suitable tools, especially in terms of flexibility and performance.

Concentrated learning a language will make programmers more flexible. A full-stack complex framework can help me quickly build a product, but when I need a solution that is not within the framework, it will become a kind of damage. I often use the plug and pray methods for development. When I find that a library or plug-in can meet my needs, I will apply them to the product. This may make the application quickly available, but it will leave many obstacles in the future.

In addition, learning the full stack framework is as complicated as learning new languages. They generally have complex architectures and terminologies, and some parts are not applicable to other frameworks and tools. Of course, the framework also has many advantages, but the premise is that you must understand the language before you can understand its true working principle, so I would rather spend time learning

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.