Coding1. The earliest ascii:8 bit, 1 bytes (8bit=1byte), the most basic, 128 code bit2.GBK GB Code: 16-bit, 2-byte3.unicode Universal Code: 16-bit, 2-byteUtf-8: English 8bit 1 bytes; Euro 16bit 2 bytes; medium 24bit 3 bytesOverview of basic data
First, the concept of entropy coding:The bigger the entropy, the more chaotic.Entropy in Informatics:
Used to measure the entropy of messages, and the uncertainty of information
The more random and irrelevant information, the higher the
Directory
I. Functions of coding specifications
The second encoding specification is not "God of things"
3. Suggestions for coding specifications
Four encoding specifications reference
As software developers, we can develop low-level
We have a lot of coding Style or code specifications. But this one may often be forgotten by us, that we often use the bool parameter in the parameters of the function, which greatly reduces the readability of the code. Don't believe it? Let's take
We have many coding styles or code specifications. But this one may often be forgotten by us.The bool parameter is often used in function parameters, which greatly reduces the readability of the Code.. Believe it? Let's take a look at the following
We have many Coding styles or code specifications. But this one may often be forgotten, that is, we often use bool parameters in function parameters, which greatly reduces the readability of the Code. Believe it? Let's take a look at the following
C # Coding Standard-coding habits
1. Avoid placing multiple classes in one file.
2. A file should have only one namespace. Avoid placing multiple namespaces in the same file.
3. A file should not exceed 500 rowsCode(Excluding the code
Note: This is the code specification from the PHPCMS development document, although the development specification is called PHPCMS, but I think all PHP programming should be so. Write so much php, a lot of coding compared to this specification is a
Whether in the iphone development or learning process will see some not very ideal code, it is undeniable that they are constantly "contributing" to this kind of code. In the face of some code "bad taste", refactoring is obviously an effective way
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.