<commit_before>---

layout: post
title: "The Ruby Koans Are Still Awesome"
date: 2014-12-11
published: true
categories: [Ruby, Testing]

---
That's right. The [Ruby Koans](http://rubykoans.com/) are still awesome. 

Within the last month, I joined a project that is using [Ember](http://emberjs.com/) for the front end of the application, and [Rails](http://rubyonrails.org/) for a backend API.

I haven't done much with Ember yet, but I have been working with Ruby on other other projects, so I don't **completely** feel like a fish out of water. Emphasis on completely.

But after working with .NET for the better part of the last decade, it always feels a little weird to jump back into the command line and try to get my Ruby on.

##Enter Ruby Koans
Running through the [Ruby Koans](http://rubykoans.com/) has turned out to be a great refresher of the Ruby language.

The Ruby Koans are a collection of exercises to walk you through the intricacies of the Ruby language - syntax, structure, libraries, etc. And because the authors value testing, all of these exercises are presented as a series of tests for you to work through, all the while learning the syntax of the Ruby language. This learning path is what Ruby Koans refers to as the "path to enlightenment".

I've made my way down the "path to enlightenment" with Ruby Koans before - this isn't my first walk around the Ruby Koans block. 

But each time I go through them, I find myself being consistently inspired by one important point.

##Testing = Culture 
With Ruby Koans, learning happens through the use of tests. Run the tests, examine the error message, and then examine the test. 

From here, you start asking yourself a couple questions. Why the test is failing? What is the test trying to verify? You then start changing the code to get the test to pass. And, often times without you even knowing it, you end up learning something new about the Ruby language along the way.

When you get started with Ruby Koans, you may interpret the "path to enlightenment" as the process of learning the Ruby language. And maybe that's true. 

But once you've finished walking the path, you will most likely find yourself redefining the "path to enlightenment". Maybe, instead of teaching you the ins and outs of the Ruby language, the "path to enlightenment" is really the process of learning how to test our code - specifically by writing tests first, and then writing the code that makes these tests pass.

The "path to enlightenment" is less about teaching you the syntax of the Ruby language and more about how to be a better developer. This is the broader lesson.

The koans are now maintained by a company named [Neo](hI ttp://neo.com/), but were originally created by <NAME> and the late, great [<NAME>](https://twitter.com/jimweirich).

RIP Jim.
<commit_msg>Correcting more typos in the Ruby Koans post.<commit_after>---

layout: post
title: "The Ruby Koans Are Still Awesome"
date: 2014-12-11
published: true
categories: [Ruby, Testing]

---
That's right. The [Ruby Koans](http://rubykoans.com/) are still awesome. 

Within the last month, I joined a project that is using [Ember](http://emberjs.com/) for the front end of the application, and [Rails](http://rubyonrails.org/) for a backend API.

I haven't done much with Ember yet, but I have been working with Ruby on other projects, so I don't **completely** feel like a fish out of water. Emphasis on completely.

But after working with .NET for the better part of the last decade, it always feels a little weird to jump back into the command line and try to get my Ruby on.

##Enter Ruby Koans
Running through the [Ruby Koans](http://rubykoans.com/) has turned out to be a great refresher of the Ruby language.

The Ruby Koans are a collection of exercises to walk you through the intricacies of the Ruby language - syntax, structure, libraries, etc. And because the authors value testing, all of these exercises are presented as a series of tests for you to work through, all the while learning the syntax of the Ruby language. This learning path is what Ruby Koans refers to as the "path to enlightenment".

I've made my way down the "path to enlightenment" with Ruby Koans before - this isn't my first walk around the Ruby Koans block. 

But each time I go through them, I find myself being consistently inspired by one important point.

##Testing = Culture 
With Ruby Koans, learning happens through the use of tests. Run the tests, examine the error message, and then examine the test. 

From here, you start asking yourself a couple questions. Why the test is failing? What is the test trying to verify? You then start changing the code to get the test to pass. And, often times without you even knowing it, you end up learning something new about the Ruby language along the way.

When you get started with Ruby Koans, you may interpret the "path to enlightenment" as the process of learning the Ruby language. And maybe that's true. 

But once you've finished walking the path, you will most likely find yourself redefining the "path to enlightenment". Maybe, instead of teaching you the ins and outs of the Ruby language, the "path to enlightenment" is really the process of learning how to test our code - specifically by writing tests first, and then writing the code that makes these tests pass.

The "path to enlightenment" is less about teaching you the syntax of the Ruby language and more about how to be a better developer. This is the broader lesson.

The koans are now maintained by a company named [Neo](hI ttp://neo.com/), but were originally created by <NAME> and the late, great [<NAME>](https://twitter.com/jimweirich).

RIP Jim.

{'fraction_non_alphanumeric': 0.05723846424797464, 'fraction_numerical': 0.0028178936245156746, 'mean_word_length': 4.144021739130435, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2883896', 'n_tokens_mistral': 1491, 'n_tokens_neox': 1385, 'n_words': 928}