Advanced specification of JAVA programming format, java programming
A developer must have strict code specifications. For this reason, I have summarized some code specification cases.
Contents
1. Preface
2. Trial Scope
3. JAVA Naming rules --
3.1 Public conventions
3.2 Java files and packages
3.3 Class and interface naming rules
3.4 naming rules for methods
3.5 C
hope you can use syntax coloring to find errors and read code.Flash MX's newly added code hint feature (hints) is not unfamiliar to readers who are familiar with the 6.0+ version of Visual Studio. For example, when you enter an object name and then enter ".", a list of related properties and methods is displayed. When you enter a function name and enter "(", the related function format is displayed. Specific can be in the input code of their own expe
might be laughing. Isn't JavaScript a very flexible grammar? Variables can be declared at any time, the statement terminator can be not, strings and numbers can be added, and a few more arguments. Yes, when you turn to JavaScript language from the strict syntax of C + + and Java, you will feel free and relaxed a lot. Loose grammar is an important feature of JavaScript. It is flexible and easy to understand, bringing a lot of convenience to developers, but if the writing process is not noticed,
In Microsoft Office 2007, Microsoft introduced a new file format: open XML. Because open XML is an open document format (based on two open technologies: XML and zip), it solves the problem that binary documents used by Microsoft Office in the past are hard to interact and are difficult to be used by third parties.ProgramAccess problems.
However, since Microsoft
.
"" "Return a foobarOptional Plotz says to frobnicate the Bizbaz first." " "" " oneline docstring " ""Naming conventions
Avoid using lowercase letters l(L) , uppercase letters, O(o) or I(i) separate names as a variable to differentiate between numbers 1 and0
Packages and modules use all lowercase names and try not to use underscores
The class name uses CamelCase a naming style, and the inner class can start with an underscore;The contracted abbreviations are left as-is,
other commands in the script should be considered for simplification. 6.1.4 Annotation SpecificationFile Module Comments : Description of the purpose, version input and output files, dependent tools and their version information, before and after the process script (optional), format unified. Important Function Comment: Description function purpose, parameter, return value, author, version.Get into the habit of writing notes: Comments to be detailed
This series of articles are all copied from msdn. Remember them first, and they will be translated step by step later.
Due to my limited level of English, the translation may not be completely correct. Please note that.
Avi riff file reference
This is preliminary documentation and subject to change.
(The Microsoft AVI file format is a riff
A UI specification fileThis is a UI template specification, in the B/S version of the application, in fact, such things are not what formal norms, just to adapt to the development environment we are facing and the organization process to do some expedient efforts, and solve some problems with the program communication and interface, try to avoid misunderstanding and friction.A suitable environment and objec
1. Overview 1.1. UseThe Cloud Vision Core Video transcoding system (" transcoding system ") can upload transcoded video files to the server via HTTP protocol.By default, an HTTP address is given to upload the file. In order to meet more complex application requirements, the transcoding system also supports more flexible upload methods, this document defines the transcoding system upload rules. Developers can refer to this rule to implement server-side
For detailed format descriptions, see:
1. Intel Hexadecimal Object File Format Specification 1988 (PDF), Revision A, January 6, 1988
2. http://en.wikipedia.org/wiki/Intel_hex
______________________________________________________________________________________________
What is Intel HEX
5. MPEG audio tags
MPEG audio tags can be divided into two types: ID3v1, which has a file tail and a length of 128 bytes, and ID3v2, which is an extension of ID3v1 and has a file header with an indefinite length.
1. ID3v1
The ID3v1 label is used to describe the MPEG audio file. Including artist, title, album, publishing age, and genre. In addition, there is addit
When choosing a programming specification, I preferred Google, followed by Huawei and Microsoft, and finally adjusted according to some of its own realities. The following is an excerpt from Google's C + + programming specifications.——————————————————————————Typically, each. cc file (the source file for C + +) has a corresponding. h
video stream information contained in the file, a multimedia file containing 1 to multiple audio and video streams filename filename, the returned filename is always UTF-8 encoded CharSet The filename is encoded in the character set on the server, and the ellipsis is UTF-8 encoding. If the encoding is non-UTF-8, in subsequent interfaces, bring the property into the mtime
Metainfo file structure)All the data in the meta-information file is encoded in the B encoding method. For the B encoding specification, see the B encoding in this series of documents.
Meta-information files (which we often see. the content of a torrent file is a B-encoded dictionary that contains the keys listed bel
, not a program to be executed, auxiliary instructions# This is the first one-line comment print ("Hello python")To ensure the readability of your code, it is recommended that you add a space before you write the appropriate explanatory textAdd a single line comment after the code
In program development, you can use # to add descriptive text behind (next to) the code
However, it is important to note that there are at least two spaces between the comments and the code in order to ens
)
The MP3 full name is MPEG-1 Audio Layer 3, which was incorporated into the MPEG specification in 1992. The MP3 is capable of compressing digital audio files with high sound quality and low sample rate. In other words, audio files (mostly large files, such as WAV files) can compress files to a lesser extent in the case of a very small loss of sound quality (the human ear simply cannot perceive the loss of this quality).
4
Real
working directory9. Other files, such as locked files, may also be stored in the virtual machine directory. Some files appear only while the virtual machine is runningRelevant Link:http://pubs.vmware.com/workstation-10/index.jsp?topic=%2fcom.vmware.ws.using.doc% 2fguid-a968ef50-ba25-450a-9d1f-f8a9dee640e7.htmlhttps://www.vmware.com/support/ws5/doc/ Ws_learning_files_in_a_vm.htm3. VHD File FormatThe Virtual hard Disk (VHD),
Author: msdnAuthor: Li Ma (http://home.nuc.edu.cn /~ Titilima)
Summary
Windows NT 3.1 introduces a new executable file format named PE file format. The PE file format specification is
If you use the office file format, you can study it. In addition, if you are a friend of the sharing software, you can consider the format conversion tool or class library. I found that a recent SourceForge project is doing this: http://b2xtranslator.sourceforge.net, please refer.
Office file (Doc, xls, PPT)
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.