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
Web Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • React
  • Maintenance
Mobile Development
  • React Native
  • iOS
  • Android
Design
  • UX, UI, and Product Design
  • Design Research
  • Design Systems
Product
  • Product Management
  • Product Design Sprint
  • Research and Strategic Insights
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
  • Level up your junior team
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
The business of great software
  • Playbook
  • Startup Incubator
  • 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 strategy, design, product management, and development partner.

    • All Topics
    • Design
    • Web
    • iOS
    • Android
    • More topics
  1. Prefer Objects as Method Parameters, Not Class Names

    In an application we worked on, we presented users with multiple choice...

    Joe Ferris
    September 26, 2014
    • Web
    • Ruby
    • Good Code
  2. Back to Basics: SOLID

    SOLID is an acronym created by Bob Martin and Michael Feathers that refers to...

    Britt Ballard
    September 3, 2014
    • Web
    • iOS
    • Back To Basics
    • Good Code
    • Ruby
    • Swift
  3. Meditations on a Class Method

    I keep a file of code I like. When looking for inspiration, I read through...

    Mike Burns
    July 31, 2014
    • Web
    • Good Code
    • Ruby
  4. Let Your Code Speak For Itself

    Comments are like playing telephone. Avoid them with clearer method names.

    Adarsh Pandit
    July 16, 2014
    • Web
    • Good Code
  5. Refactoring with an Apprentice

    Walk through a refactoring of Ruby on Rails test code and observe lessons in Rails idioms, setting up only necessary test data, and extracting methods.

    Eric Allen
    May 19, 2014
    • Web
    • Good Code
    • Testing
    • Apprenticeship
  6. 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
  7. Removing Sass Duplication Using Sass Maps

    How Sass maps empower you to write less code.

    Kyle Fiedler
    April 4, 2014
    • Sass
    • Good Code
    • Design
  8. 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
  9. 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
  10. 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
  11. Sign up to receive a weekly recap from thoughtbot

« 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
  • GitHub
  • Instagram
  • YouTube
  • Twitch
© 2024 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