google/styleguide
View on GitHub ↗ ★ 39,790 Emacs Lisp
Style guides for Google-originated open-source projects
20 mentions on Hacker News by 20 people: 5 stories, 15 comments · first 2015-09-23 · latest 2025-05-17
20082026
-
…during such instructions. You won't get a segfault, but you might get unexpected results. See also https://github.com/google/styleguide/blob/91d6e367e384b0d8aa...
comment by spacechild1 · 2025-05-17 · in The first year of free-threaded Python -
…to the GoTips for some advanced subjects. I hope they release it someday. I made an issue for it: https://github.com/google/styleguide/issues/881
comment by starquake · 2025-02-19 · in One year after switching from Java to Go -
…"standard", though since this is such an old project I may out of my depth in saying that. --- [1]: https://github.com/google/styleguide/blob/gh-pages/pyguide.m... [2]: https://stackoverflow.com/a/24385103
comment by usrme · 2022-01-20 · in NaturalDocs: Plain English code documentation -
…style guide literally says: "Assume the person reading the code knows Python better than you do." https://github.com/google/styleguide/blob/gh-pages/pyguide.m...
comment by Alex3917 · 2019-07-01 · in Google’s robots.txt parser is now open source -
I have read about this: https://github.com/google/styleguide/tree/gh-pages/cpplint There is also this: https://github.com/mre/awesome-static-analysis
comment by ryacko · 2019-06-12 · in RAMBleed Attack – Reading Bits in Memory Without Accessing Them -
…still uses <head>. "Do as we say. Not as we do." You can view source, and they post it to GitHub. https://github.com/google/styleguide/blob/gh-pages/htmlcssgu...
comment by dbg31415 · 2019-05-21 · in Google HTML/CSS style guide suggests omitting head and body tags -
…deep isn't considered good style. There is an example of this in Google's python style guide: https://github.com/google/styleguide/blob/gh-pages/pyguide.m...
comment by shmolyneaux · 2018-10-11 · in Asterisks in Python -
…any longer than 60-80 chars, it's probably better to define it as a regular (nested) function." [1] https://github.com/google/styleguide/blob/gh-pages/pyguide.m...
comment by yodsanklai · 2018-09-27 · in Stop writing lambda expressions in Python -
…indent with 4 spaces. (Fun fact: Google's internal style guideline dictates indenting by 2 spaces!) https://github.com/google/styleguide/blob/gh-pages/pyguide.m... : Indent your code blocks with 4 spaces.
comment by mikewhy · 2018-09-21 · in Modern Code Review: A Case Study at Google [pdf] -
…guidelines are agreed upon, and published. E.g http://google.github.io/styleguide/javaguide.html https://github.com/google/styleguide/blob/gh-pages/pyguide.m...
comment by dirkgently · 2018-09-21 · in Modern Code Review: A Case Study at Google [pdf] -
…times less powerful than eslint, please share. It's astonishing that linting C++ requires one file, https://github.com/google/styleguide/blob/gh-pages/cpplint/c... , but linting JS requires MBs of dependencies.
comment by ArmandGrillet · 2018-07-12 · in Postmortem for Malicious Packages Published on July 12th, 2018 -
Not exactly language-agnostic, nor about programming per se, nor a book, but [Google Style Guides]( https://github.com/google/styleguide ) offer a lot of specific, opinionated, practical advice that you can apply immediately. It's like an…
comment by m-j-fox · 2017-06-05 · in Ask HN: What language-agnostic programming books should I read? -
Here's the direct github link if you want to fork or star: https://github.com/google/styleguide/blob/gh-pages/htmlcssgu...
comment by simple10 · 2016-09-17 · in Google HTML/CSS Style Guide – Omit Optional Tags -
Google has some fairly specific style guides for all languages used: https://github.com/google/styleguide/blob/gh-pages/README.md Go to me feels like they implemented the Google Java and C++ style guides as a language.
comment by kyrra · 2016-06-08 · in Program your next server in Go -
You could try this version: https://github.com/google/styleguide/blob/gh-pages/shell.xml
comment by narrowrail · 2015-12-15 · in Bash Academy