/T 7714-2005Instead of GB/t 7714-1987The descriptive rules of reference documents in the post-textRules for content, form and structure of bibliographic references(ISO 690:1987,documentation-bibliographic references-content form and structure; ISO 690-2:1997,informationand documentation--bibliographic References--part 2:electronic documents or parts thereof, NEQ)Geebin Oyang from Nankai UniversityModify record 2009.03.30~2013.01.06 by (Haoxian Zeng https://cnzhx.net/GB/T 7714-2005 based on PRC n
rules in software development, such as:-Length of class/method-Number of methods/attributes-Number of parameters for the method-Special values and the use of strings-scale of annotationsThese rules are important metrics to ensure code readability and maintainability. The development team should choose some or all of the rules to implement (e.g. Maven PMD plugin). This will help improve the quality of your software products.5. Cyclomatic complexity (loop complexity)The loop complexity is listed
Example: Defining a USB Standard
Interface USB {// operating standardpublic void Install ();public void work ();}
Example: Apply this interface on a PC
Class Computer {public void plugin (USB usb) {Usb.install ();Usb.work ();}}
Example: Defining a USB device
class Phone implements USB { public void Install () {System.out.println ("Install the phone driver. ") ; }public void work () {System.out.println (" mobile phones and comput
code; Delete unused variables, methods and classes.
Never let the user experience a runtime error. Take appropriate actions to either manage the situation programmatically or throw a error informing the user in the I Nfolog about the problem and what actions can is taken to fix the problem.
Never make assignments to the ' this ' variable.
Avoid dead Code. Reuse code. Avoid using the same lines of code in numerous places. Consider moving them to a method instead.
Never use Infolog.add di
)
{
Computer.pugin (new Flash ()); This method of invocation, or the first time to see
Computer.pugin (new Print ());
}
}
This two-day learning interface, abstract class, object polymorphism, feeling very laborious, mainly polymorphic place, feel not much necessary, learned here to understand the importance of polymorphism, he is used to instantiate the interface and abstract class.In this example, USB is a standard that only meets this standard in order to connect to the compute
Some netizens often ask how to make the Flash tags embedded in the web page comply with web standards. There is no perfect solution yet. In this article, we embed Flash into the js file and use the variable passing parameter method to avoid non-conforming labels.Please note that this is only a work und. Changing the Tang without changing the changes does not ultimately solve the existing problems. Verification is just a representation. Is this idea de
Prompt when using ecshopEcshop prompts Strict Standards: Non-static method cls_image: gd_version () shocould not be called statically in E:/wwwroot/weirenchou/schemdes/lib_base.php on line 346This error indicates that the search problem was originally caused by the php version. I used the php5.4 version. The solution is as follows:Find row 346.Return cls_image: gd_version ()Replace:$ P = new cls_image ();Return $ p-> gd_version ();In this way, the pro
Standards of outstanding developers in the eyes of project managers
Copyright Disclaimer: If you have a reprinted request, please indicate the source:Http://blog.csdn.net/yzhzYang Zheng
As a project manager, I hope our project developers can do the following:1. InitiativeActively think about the project and give your own opinions and opinions.If any problem occurs, contact the relevant personnel for assistance.2. Timely bug fixingIn the project pl
When it comes to a specific media file format, it should generally contain two parts: the encoding format of media data (mainly audio or video) and the file system format.
Multimedia files are mainly encoded by compressing audio or video data according to certain encoding standards to reduce the amount of data. Audio Encoding formats include Windows Media Audio, MPEG, AC3, Ogg, Real Audio and so on; video encoding formats include Windows Media video,
inputIf the data comes from the keyboard, it will not be read at the end of the file because the last Read method will blockSystem.setin: RESET data source for standard input2. Standard output stream (PrintStream)System.out: Data is output to the console by defaultSystem.setout: Reset the standard output location3. Standard error Stream (PrintStream)System.err: Default data output to console (font red)System.seterr: Reset the standard error stream location7. Data Flow:1, DataInputStream2, DataO
;Run MySQL in ANSI Mode
If you use the -- ansi option to start mysqld, the following behavior changes of MySQL.| It is the union of strings rather than OR.There can be any number of spaces between a function name and. This also makes all functional names reserved."It will be an identifier quotation mark character (like the MySQL 'quotation mark character) rather than a string quotation mark character.REAL will be a synonym for FLOAT, not a synonym for DOUBLE.5.3 differences between MySQL and ANS
On the whole, these different standards work well together. However, we are also very concerned about the differences between them, especially the differences between iso c and POSIX.1.
Iso c defines the function clock, which returns the CPU time used by the process. The returned type is clock_t. To convert the value to seconds, divide it by the CLOCKS_PER_SEC defined in the
Note: The following definitions are narrow and used to limit the problem domains to be resolved. You can also define your own standards. This is not an industry standard.(1) lightweight MVC definition:1. The framework has no intrusion into applications and does not rely on any interface classes.2. Zero frame configuration and zero annotation3. It is easy to use and easy to understand. It is not RESTful for the time being, so as to avoid complexity.(2)
Why should I abandon HTML and execute Web standards? If it's smelly and long, I'll try to be simple:
The HTML development to today exists three main disadvantages:
1, too simple: can not adapt to the more network equipment and application needs. For example, mobile phones, PDAs, information appliances can not directly display HTML.
2, too large: Because the HTML code is not standardized, bloated, browsers need to be smart enough and large to prope
W3C Chinese website http://www.w3china.org/index.htm. it seems that it has not been a long time to come. We recommend that you use a Wiki to translate the content of W3C standards. You can take a look at it and make some contributions!
There is also an encyclopedia website, where there is not a lot of Chinese information. You can contribute your knowledge. However, it claims that its English and German content is comprehensive, and many information t
ISA Standards and Practices
ISA (interactive services architecture) interactive service architecture1) Software Design ModelThe ISA design team adopts the factory mode to implement the main aspects of the ISA design.2) UMLThe ISA architecture uses the Rational Rose design tool to create an object model of a complex object-oriented system.3) Implementation of isa1.4The implementation of isa1.4 adopts the following software:Corba2.0IDLXMLIIOP as the ba
prevent malicious users from causing the application to perform unplanned tasks, such as starting arbitrary SQL queries, embedding JavaScript code that will be executed on the client, running various operating system commands, and so on. The concrete implementation can refer to the combination of 1. SQL injection file writes with 3. Cross-site request forgery resolution;16. Insufficient account blockadeWorkaround: To limit the number of user login errors, and in a certain period of time do not
-incrementC:urlRole: Can create a complete absolute pathExample:Property:Value: The address to be set, note that the address should start with/or not add the project nameYou can add the C:param tag to the URL tag, and you can automatically request parameters for the address stitching.C:redirectRole: redirect of the requestExample:Property:Url:Redirect to the destination address, and note that the address does not add the project name on its own.The C:param tag can be added to the redirect tag to
technology to find a job. In these one months, we have mainly studied the Java Foundation, this one months course is very important for us, because this one month study is the foundation of the back study. In these one months, I have spent time looking at the Silicon Valley Java video, I deeply understand the Java language programming thinking. What I understand most clearly in this paragraph is the encapsulation, inheritance, and polymorphism of the Java language. And my weakest spot is that
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.