Skip to main content
thoughtbot thoughtbot
  • Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • Maintenance
  • Mobile
Design
  • Discovery Sprints
  • UX, UI, and Product Design
  • Design Systems
Product
  • MVP
  • Product Management
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
  • Conference Talks
The business of great software
  • Playbook
  • Purpose Built
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

Good Code Articles

Written by thoughtbot, your expert partner for design and development.

    • All Topics
    • Design
    • Development
    • Product
    • More topics
  1. Introducing Hound

    Introducing Hound, a hosted service that keeps your codebase clean by commenting on style guide violations or other linting issues in your GitHub pull requests.

    Scott Albertson
    April 9, 2014
    • News
    • Web
    • Hound
    • Ruby
    • Good Code
    • Open Source
  2. Removing Sass Duplication Using Sass Maps

    How Sass maps empower you to write less code.

    Kyle Fiedler
    April 4, 2014
    • Sass
    • Good Code
    • Design
  3. Clearer Conditionals using De Morgan's Laws

    Ever seen a hard-to-parse conditional like this? def allow_access_to_site? ...

    Gabe Berke-Williams
    December 20, 2013
    • Web
    • Good Code
  4. Ruby Science: Extracting and Using Classes

    Today’s release of Ruby Science includes three new chapters. If you’re...

    Joe Ferris
    February 22, 2013
    • Web
    • Ruby
    • Good Code
  5. Ruby Science: How to Eliminate Feature Envy and Comments

    Since launching Ruby Science we’ve written and released five new chapters....

    Harlow Ward
    January 8, 2013
    • Web
    • Rails
    • Ruby
    • Good Code
    • Books
  6. Refactor in a branch

    This blog post is about refactoring, git, long-lived branches, and scope...

    Mike Burns
    December 18, 2012
    • Git
    • Good Code
  7. Better serialization, less as_json

    Improving the generation of JSON.

    Alex Grant
    November 27, 2012
    • Web
    • Rails
    • Good Code
  8. Code that says why it does

    A new developer joins a project, and asks in Campfire: “what is the purpose...

    Ben Orenstein
    November 9, 2012
    • Good Code
  9. Let's Not

    How using this popular RSpec technique can sometimes do more harm than good.

    Joe Ferris
    October 31, 2012
    • Web
    • Ruby
    • Testing
    • Good Code
  10. Don’t Repeat Your Ruby Constants in Javascript

    Constants help us avoid Magic Numbers and repeated code, which violates the...

    Adarsh Pandit
    September 27, 2012
    • Web
    • JavaScript
    • Rails
    • Good Code
  11. Sign up to receive a weekly recap from thoughtbot

    Looking for even more ways to stay connected?
    RSS feed icon Check out our feeds
« First ‹ Prev 1 2 3 4 5 6 7 8 9 10 Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • Bluesky
  • GitHub
  • YouTube
  • Twitch
  • Feeds
© 2025 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy