TheOdinProject / ruby-exercises

MIT License
219 stars 1.06k forks source link

Ruby Course - Basic Data Types - Assignment - 1_data_types exercises #84

Closed Colo-Codes closed 1 year ago

Colo-Codes commented 1 year ago

First of all, I just wanted to say that it's great to have the solutions for the exercises in the Ruby course, so I thank the team for that!

I've arrived to different solutions for the purposed exercises, and I was wondering if you would consider including more than one correct answer to the solutions branch.

For example, in the string_exercises.rb file:

"Hello #{string}!"
word[0..3]
rlmoser99 commented 1 year ago

Thanks for sharing your appreciation. As you can tell, there are many different solutions for each exercise, but we've decided to just share one in the solutions branch.

The purpose of this branch is to help people get unstuck, especially because we see people over complicate some of these exercises. We don't intend to start a collection of all the ways to solve any of the exercises, so I am going to be closing this issue.