Google C++ Style GuideC++ Style Guide Background C++ is one of the main development languages used by many of Google’s open- source projects. As every C++ programmer knows, the language has many powerful features, but this bit of a misnomer, since these conventions cover far more than just source file formatting. Most open-source projects developed by Google conform to the requirements in this guide. Note that this guide associated definition. • Forward declarations can save compile time, as #includes force the com- piler to open more files and process more input. 4 • Forward declarations can save on unnecessary recompilation0 码力 | 83 页 | 238.71 KB | 1 年前3
Google Python Style Guideextra pair of parentheses around an expres- sion. Yes: foo_bar(self, width, height, color='black', design=None, x='foo', emphasis=None, highlight=0) if (width == 0 and height == 0 and color == 'red' and == 4: print x, y x, y = y, x No: if x == 4 : print x , y x , y = y , x No whitespace before the open paren/bracket that starts an argument list, in- dexing or slicing. Yes: spam(1) No: spam (1) Yes: big_table. Silly things may happen if other_silly_variable is not None. Args: 21 big_table: An open Bigtable Table instance. keys: A sequence of strings representing the key of each table row to fetch0 码力 | 30 页 | 94.81 KB | 1 年前3
01 Structure of Scientific Papers - Introduction to Scientific Writing WS2021/22/ BS Thesis MS Thesis PhD Thesis Habilitation Preprint Conference Journal Grant Proposal Design doc White Paper Tech Report Blog Website 14 706.015 Introduction to Scientific Writing – 01 prototypes that don’t work Ex. Compressed Linear Algebra Data characteristics inspired overall design of encoding schemes Initially slow compression dedicated sampling schemes and estimators Initially main-memory databases. ICDE 2013 #12.4 Nicolas Bruno, Surajit Chaudhuri: Constrained physical design tuning. Proc. VLDB Endow. 1(1) 2008 Paper Project Proposals 33 706.015 Introduction to Scientific0 码力 | 36 页 | 1.12 MB | 1 年前3
03 Experiments, Reproducibility, and Projects - Introduction to Scientific Writing WS2021/22https://www.tugraz.at/sites/rdm/home/ Toni Ross-Hellauer Ilire Hasani-Mavriqi / Sarah Stryeck (ISDS): Open and Reproducible Research Group (ORRG) TU Graz RDM Policy since 12/2019, towards faculty-specific meta data; registered/indexes and searchable #2 Accessible Metadata and data retrievable via open, free and universal comm protocols Metadata accessible even when data no longer available #3 Self-contained Experiments Bundles http://sciunit.run Sumatra Numerical Simulations https://github.com/ open-research/sumatra 29 706.015 Introduction to Scientific Writing – 03 Experiments & Reproducibility0 码力 | 31 页 | 1.38 MB | 1 年前3
Google Java Style Guidein an en- hanced for (“foreach”) statement. 3. A method or constructor name stays attached to the open parenthesis (() that follows it. 4. A comma (,) stays attached to the token that precedes it. Note: from an open parenthesis (() that follows it on that line 2. Separating any reserved word, such as else or catch, from a closing curly brace (}) that precedes it on that line 3. Before any open curly brace0 码力 | 19 页 | 84.76 KB | 1 年前3
02 Scientific Reading and Writing - Introduction to Scientific Writing WS2021/22Understanding/Evaluation Skepticism Critical reading is important for understanding and evaluation #1 Start open-minded, listen to arguments and trust provided evidence #2 Don’t accept superficial, contradictory0 码力 | 26 页 | 613.57 KB | 1 年前3
共 6 条
- 1













