Next Steps

View saved

What you can do now

  • Install Ruby and run scripts with ruby and IRB
  • Use numbers, strings, arrays, hashes, and symbols
  • Write methods, blocks, classes, and modules
  • Rescue errors, manage gems, and render simple ERB

Practice ideas

Build a CLI flashcard app that stores cards in a JSON file (hash arrays), quizzes you with gets, and tracks scores.

Common traps

  • Confusing symbols and strings as hash keys
  • Rescuing every exception and hiding bugs
  • Putting too much logic in ERB templates
  • Skipping Bundler and fighting version mismatches

Where to go next

  • RSpec or Minitest for testing
  • Sinatra or Rails for web apps
  • Enumerable deep dive (reduce, group_by)
  • Fibers and concurrency basics
  • Packaging your own gem

Comments

One comment per signed-in account. Comments are saved with this page’s URL.