Home > Articles > Programming

"The Best Programming Advice I Ever Got" with Michael Hartl

  • Print
  • + Share This
When things don't go as smoothly as you'd hoped, it's easy to let frustration sink in. Even acclaimed Ruby developer Michael Hartl makes mistakes! Inside, he shares some inspiration to keep you on track.
Be sure to check InformIT for a new article every Wednesday. See more advice from other programmers here.

From the author of


Michael Hartl

Job Experience:


Most Notable Achievement:

Author of the Ruby on Rails Tutorial

Most Frequently Used Programming Language:



Random weird things happen all the time when programming, and the only way to win is to suck it up and persevere. When I taught computational physics at Caltech, I told my students that they would be saying, "This doesn't make any sense!" with alarming frequency—a prediction that proved correct. Many readers of the Rails Tutorial offer similar stories, often relating their travails with installation, configuration, and debugging. Whenever anyone says, "I spent a day debugging a problem that turned out to be a typo on one line," I think, "Welcome to the club!" If you've never blown a day just trying to install some simple package or debugging some simple issue, you either haven't been programming very long, or you're a lot luckier than I am.

  • + Share This
  • 🔖 Save To Your Account