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 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 码力 | 967 页 | 2.88 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 年前3The Next.js Handbook
seamlessly. Say you have a /pages/api/comments.js file, whose goal is to return the comments of a blog post as JSON. Say you have a list of comments stored in a comments.json file: 47 [ { "comment": client the list of comments: import comments from './comments.json' export default (req, res) => { res.status(200).json(comments) } It will listen on the /api/comments URL for GET requests /pages/api/comments/[id].js which will retrieve the comments specific to a post id. Inside the [id].js you can retrieve the id value by looking it up inside the req.query object: import comments from0 码力 | 54 页 | 2.61 MB | 1 年前3The Weblate Manual 4.14
current translation. 12 Chapter 1. User docs The Weblate Manual, Release 4.14 1.3.4 Comments Three types of comments can be posted: for translations, source strings, or to report source string bugs when string comments are in any event good for providing feedback on the original string, for example that it should be rephrased or to ask questions about it. You can use Markdown syntax in all comments and info can be shown on this page, most of which coming from the project source code (like context, comments or where the message is being used). Translation fields for any secondary languages translators0 码力 | 506 页 | 7.27 MB | 1 年前3The Weblate Manual 4.14.1
current translation. 12 Chapter 1. User docs The Weblate Manual, Release 4.14.1 1.3.4 Comments Three types of comments can be posted: for translations, source strings, or to report source string bugs when string comments are in any event good for providing feedback on the original string, for example that it should be rephrased or to ask questions about it. You can use Markdown syntax in all comments and info can be shown on this page, most of which coming from the project source code (like context, comments or where the message is being used). Translation fields for any secondary languages translators0 码力 | 505 页 | 7.27 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100