Google C++ Style Guide
lot of clutter. Use namespaces according to the policy described below. Terminate namespaces with comments as shown in the given examples. See also the rules on Namespace Names. 8 Unnamed Namespaces • INT_MAX Comments Though a pain to write, comments are absolutely vital to keeping our code read- able. The following rules describe what you should comment and where. But re- member: while comments are very variables is much better than using obscure names that you must then explain through comments. When writing your comments, write for your audience: the next contributor who will need to understand your code0 码力 | 83 页 | 238.71 KB | 1 年前3CakePHP Cookbook Documentation 5.x
tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment message') ->send(); Commenting Code All comments should be written in English, and should in a clear way describe the commented block of code. Comments can include the following phpDocumentor [https://phpdoc0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook Documentation 5.x
tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment great message') ->send(); Commenting Code All comments should be written in English, and should in a clear way describe the commented block of code. Comments can include the following phpDocumentor70 tags:0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 4.x
Console ConsoleIo::comment() was added. This method formats text with a blue foreground like comments in the generated help text. TableHelper now supports aformatting tag, which aligns tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment 0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook 4.x
Console • ConsoleIo::comment() was added. This method formats text with a blue foreground like comments in the generated help text. • TableHelper now supports aformatting tag, which aligns tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment 0 码力 | 967 页 | 2.88 MB | 1 年前3CakePHP Cookbook 3.x
to many associations. Shell cake i18n extract has a new --relative-paths option that makes path comments in POT files relative to the application root directory instead of absolute paths. cake i18n extract --marker-error option that enables reporting of translation functions that use non-static values as comments in POT files. TestSuite New assertion methods were added to IntegrationTestCase: assertResponseNotEquals() Table::getAssociation() can now read deeply nested associations using . separated paths. e.g Users.Comments. This method will raise exceptions when getting an unknown association now. Table::addBehaviors()0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 3.x
many associations. Shell • cake i18n extract has a new --relative-paths option that makes path comments in POT files relative to the application root directory instead of absolute paths. • cake i18n --marker-error option that enables reporting of translation functions that use non-static values as comments in POT files. TestSuite • New assertion methods were added to IntegrationTestCase: – assertResponseNotEquals() Table::getAssociation() can now read deeply nested associations using . separated paths. e.g Users. Comments. This method will raise exceptions when getting an unknown association now. • Table::addBehaviors()0 码力 | 967 页 | 2.80 MB | 1 年前3Apache OFBiz User Manual
paperwork reaching the customer 52 such as packing slips, invoices, etc. This may be the place for comments such as 'wrap each item separately' when several units of the same item are being sent in an order your tracking number for processing through the Picking, Packing and Shipping processes. Some comments on the process The process is or should be as intuitive as possible so the customer is not frustrated This could be useful in identifying transactions to a greater level of detail….) 11. Fill in the 'Comments' field (Eg: Opening Balance from XYZ Statement) 12. Press the 'Add' button and the transaction0 码力 | 307 页 | 5.64 MB | 1 年前3Apache OFBiz User Manual
paperwork reaching the customer 52 such as packing slips, invoices, etc. This may be the place for comments such as 'wrap each item separately' when several units of the same item are being sent in an order your tracking number for processing through the Picking, Packing and Shipping processes. Some comments on the process The process is or should be as intuitive as possible so the customer is not frustrated This could be useful in identifying transactions to a greater level of detail….) 11. Fill in the 'Comments' field (Eg: Opening Balance from XYZ Statement) 12. Press the 'Add' button and the transaction0 码力 | 304 页 | 5.21 MB | 1 年前3Google Python Style Guide
Line length Parentheses Indentation Blank Lines Whitespace Shebang Line Comments Classes Strings Files and Sockets TODO Comments Imports formatting Statements Access Control Naming Main Important Note link Maximum line length is 80 characters. Exceptions: • Long import statements. • URLs in comments. Do not use backslash line continuation. Make use of Python’s implicit line joining inside parentheses joining. x = ('This will build a very long long ' 'long long long long long long string') Within comments, put long URLs on their own line if necessary. Yes: # See details at # https://www.example.com0 码力 | 30 页 | 94.81 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100