Giant Robots Smashing into Other Giant Robots

Written by thoughtbot

Viewing articles related to good code. View all tags.

  1. Keeping the Front-End Modular with BEM

  2. Lazy Refactoring

  3. Collaboration is Other People

  4. Back to Basics: Anonymous Functions and Closures

  5. How to Stop Voodoo Programming

  6. Prefer Objects as Method Parameters, Not Class Names

  7. Back to Basics: SOLID

  8. Meditations on a Class Method

    Mike Burns
  9. Let Your Code Speak For Itself

  10. Refactoring with an Apprentice

  11. Introducing Hound

  12. Removing Sass Duplication Using Sass Maps

  13. Clearer Conditionals using De Morgan's Laws

  14. Ruby Science: Extracting and Using Classes

  15. Ruby Science: How to Eliminate Feature Envy and Comments

  16. Refactor in a branch

    Mike Burns
  17. Better serialization, less as_json

    Alex Grant
  18. Code that says why it does

  19. Let's Not

  20. Don’t Repeat Your Ruby Constants in Javascript

  21. Refactoring: Replace Conditional with Polymorphism

  22. Expressing the problem

    Mike Burns
  23. Name It

    Mike Burns
  24. Tell, Don't Ask

  25. How Much Should I Refactor?

  26. Types of Coupling

  27. Beware Homonyms

  28. Read between the lines

  29. Humans Present: Refactoring

  30. Come Correct with Inject and Collect

  31. How to Extract an Intention-Revealing Name Using Vim

  32. What is good code?

  33. Decorators Compared To Strategies, Composites, and Presenters

  34. Rails Refactoring Example: Introduce Null Object

  35. Watch for Turbulence

    Mike Burns
  36. Derive #inject for a better understanding

    Mike Burns
  37. Inject that Rails Configuration Dependency!

  38. Evaluating Alternative Decorator Implementations In Ruby

  39. Tidy Views and Beyond with Decorators

  40. The One-Method Silent Killer in Your Cucumber Suite

  41. Design Patterns in the Wild: Null Object

  42. Separate your filters

    Mike Burns
  43. Getting Sequential: A look into a Factory Girl Anti-pattern

  44. Unobtrusive Ruby

    Mike Burns
  45. A Paperclip Refactoring Tale: Part One: Dependency Injection

    Mike Burns
  46. ActiveRecord, Caching, and the Single Responsibility Principle

  47. If You Gaze Into nil, nil Gazes Also Into You

  48. Switching on an Attribute of Another Object

  49. The Common Threads through AntiPatterns

  50. Let it REST