DEV Community

christine
christine

Posted on • Originally published at christine-seeman.com on

3 1

Ruby Koans – Is this the path to Ruby enlightenment

Ok going forward I am trying out iTerm for my terminal and Visual Studio Code for my editor. Don’t know if these are best practices or anything, but when I was trying to pull down code from GitHub in just the default MacOS Terminal, it felt clunky. So I am running through the Ruby Koans tutorial because it seemed more complete to me. I am a programmer, I just am not a Ruby programmer. So I know that I want to look at code structure, not just a dinky hello world app that doesn’t give me any real world code feels. So I am going to run through these and see what I learn. Also pulled down a couple books and might start in on one of those, but for right now I just need to get my hands on some code that I can read.

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (6)

Collapse
 
remy90 profile image
Remy

Given this was a year ago and your bio suggests you're now a ruby engineer, what were your steps after the koans? I'm a c# dev interested in pursuing a similar path!

Collapse
 
cseeman profile image
christine

I actually didn't end up doing too many koans. I do like the TDD approach, and do a lot of Rspec testing in my day-to-day. Actually for getting started in Ruby I really like the book Eloquent Ruby by Russ Olsen for people who are transitioning from another language. I did Learn Ruby the Hard Way for a while, but it was going kinda slow for me, but I did like the approach for the hands on learning. Otherwise, it helped that I was doing Ruby/Rails at my job, and learning from experienced Rubyists. Also recommend any of the courses from Avdi (avdi.codes/)

Collapse
 
atrawka profile image
a-trawka

Hey, I'm trying to figure out the ruby learning path as well and I'm looking for suggestions. Eloquent Ruby by Russ Olsen seems pretty outdated, am I right?

Thread Thread
 
cseeman profile image
christine

I haven't found it too outdated, sure Ruby has more features then when it was printed but the main code style, patterns and usage of the different classes (think Struct, Hash, Array, Symbol...) those kind of things aren't going to change too much.

Collapse
 
adarshkkumar profile image
Adarsh.K.Kumar

Could u please specify the book names and link to the konas you are trying?

Collapse
 
cseeman profile image
christine

Sure, I am working through rubykoans.com/ and I am just using the online resources and the code download. Right now I am working on koans/about_objects.rb:34:in `test_small_integers_have_fixed_ids', which is just 14 out of 282 of the koans.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post