Hacker GitHub

← All repos

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

Mentions per year 20 mentions · busiest year 2018 (5)
20082026
  1. …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
  2. …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
  3. ▲ 2
    Google Style Guides
    story by rognjen · 2023-03-26 · 0 comments
  4. …"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
  5. …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...
  6. 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
  7. …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...
  8. …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
  9. …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
  10. …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.
  11. …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...
  12. …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.
  13. ▲ 1
    Google's styleguide for all major languages
    story by praveshjain · 2017-06-22 · 0 comments
  14. 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…
  15. Here's the direct github link if you want to fork or star: https://github.com/google/styleguide/blob/gh-pages/htmlcssgu...
  16. 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
  17. ▲ 3
    Style guides for Google-originated open-source projects
    story by frankyd · 2016-03-02 · 0 comments
  18. You could try this version: https://github.com/google/styleguide/blob/gh-pages/shell.xml
    comment by narrowrail · 2015-12-15 · in Bash Academy
  19. ▲ 3
    Google Style Guides
    story by shagunsodhani · 2015-09-24 · 0 comments
  20. ▲ 3
    Google’s Markdown Style Guide
    story by andybons · 2015-09-23 · 0 comments