Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

guides

> 编程语言
Open source

A guide for programming in style.

9.6K stars0 likes1 views
WebsiteGitHub

About

A guide for programming in style.

Guides

Guides for working together, getting things done, programming well, and programming in style.

High level guidelines

  • Be consistent.
  • Don't rewrite existing code to follow this guide.
  • Don't violate a guideline without a good reason.
  • A reason is good when you can convince a teammate.

A note on the language

  • "Avoid" means don't do it unless you have good reason.
  • "Don't" means there's never a good reason.
  • "Prefer" indicates a better option and its alternative to watch out for.
  • "Use" is a positive instruction.

Guides by category

  • thoughtbot Tech Stack
  • General

Collaboration

  • Code Review
  • Open Source
  • Product Review

Protocols

  • Accessibility
  • Data
  • Email
  • Object-Oriented Design
  • Security
  • Web
  • Web Performance
  • Production

Languages

  • Bash
  • CSS
  • ERB
  • HTML
  • JavaScript & TypeScript
  • Python
  • Ruby
  • Sass
  • Shell
  • Swift

Frameworks and platforms

  • Android
  • iOS
  • Rails
  • React
  • React Native
  • Testing with Jest
  • Testing with RSpec

Tools

  • Git
  • GraphQL
  • Postgres
  • Relational Databases

Contributing

Please read the contribution guidelines before submitting a pull request.

In particular: if you have commit access, please don't merge changes without waiting a week for everybody to leave feedback.

Credits

Thank you, contributors!

License

Guides is © 2020-2025 thoughtbot, inc. It is distributed under the Creative Commons Attribution License.

About thoughtbot

This repo is maintained and funded by thoughtbot, inc. The names and logos for thoughtbot are trademarks of thoughtbot, inc.

We love open source software! See our other projects. We are available for hire.

Issues· 10 open

View all issuesOpen on GitHub
  • #787

    Rails AI rules could benefit from Hotwire rules

    Updated May 27, 2026

> Tags

Ruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言