chris finne

Chris Finne's Blog

The topics are primarily professional and since I'm a "software guy", that means Ruby, Ruby on Rails, jQuery, Amazon AWS, Slicehost, Sphinx, Solr, SMPP and many other technologies that I work (and sometimes struggle) with.

freeze - I can Modify CONSTANTS in Ruby

March 25th 2012

STOP THE PRESSES!

I can modify a CONSTANT!

Whoa, that’s a bit scary. I’ve been coding in Ruby for 5 or 6 years now. I probably knew this before and forgot. After all, when I was first learning Ruby, I read Programming Ruby and this concept is likely in there (but i’m too lazy to confirm it right now). I know I’m making myself look like an idiot for going this long without fully internalizing (or forgetting) this, but oh well. I’m writing this for my own benefit. I won’t forget this concept after spending a while explaining this important Ruby concept…