[Note] Is it necessary to be proficient in Unix shell syntax?

Source: Internet
Author: User

Today, I interrupted bash learning.

The first reason is that the book advanced bash Script Programming Guide is thick enough and has enough details. But this is not to say that it is very profound. This book is very good, but it is too entangled in details. If you can read and master this book carefully, you will certainly be a veteran of bash, and you will never be proficient.

The main reason is that I deeply feel that there is a problem with the bash script design idea, that is, it is more inclined to integrate functions into the language, it realizes the combination of common library functions as special symbols rather than organizing common libraries as functions and parameters. The advantage of this option is that for experienced users who are proficient in bash syntax, they can use combinations of a few special characters to replace complicated function calls, improving the editing efficiency. However, it is clear that such a pile of code composed of strange texts will impose a great burden on other project members who are not familiar with Shell syntax, even when the author goes back to maintain the heap of code, it is difficult to forget some special characters. There are too many special rules to be remembered when you fully master bash scripts! In addition, various shell implementations are deeply immersed in various inconsistencies due to complexity. No wonder many people think shell syntax is messy.

In short, it will not cause any obstacles to communication with other project partners in the future. I decided to stop talking about Bash! You don't have to remember the messy rules!

 

Well, start learning python! Python's strict code style always seduce me! It is a pity that Lua will be left empty after python is used.

The language selection sequence is as follows:

Windows: 1. C #: VS provides function/parameter completion, and C # has the highest encoding efficiency ;. the net Library provides the strongest system manipulation capability in windows. C #, as one of the most advanced static languages, has various syntaxes and convenience, and lightning-like Compilation speed, it is really the best choice for common programming tasks in windows! 2. Python, a universal scripting language, and a unified programming style facilitate the organization of large projects. 3. When an embedded language is required, use Lua. 4. Efficiency algorithms or key code. Use C/C ++. 5. Daily text processing, VIM and UNIX tools.

In Linux: It is basically the same as in windows, but C # is removed; shell can also be written everyday.

Related Article

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.