Covers many aspects of Ruby: Ruse, Rake, Rails, RubyGems, RailsConf (US, Europe).
Link: onestepback.org
The big remaining question on Ruby coding style is: When should you used { } for blocks, and when should you use do/end? Blocks in Ruby may be written with brace delimeters or do/end delimiters. There is a subtle difference in precedence between the two versions, but for most work the...
I’ve been a statically typed bigot for quite a few years. I learned my lesson the hard way while using C. Too many systems crashed in the field due to silly typing errors. […] Four years ago I got involved with Extreme Programming. […] I can’t imagine not having a comprehensive suite ...
Connascence of Meaning (static) Connascence of Algorithm (static) Connascence of Position (static) Connascence of Execution (dynamic) Connascence of Timing (dynamic) Connascence of Value (dynamic) Connascence of Identity (dynamic)
This is not yet another "Ruby is better than Java" article. Nor is it intended to bash Java or Java programmers. Rather, it is an attempt to aid Java programmers who are investigating Ruby by helping them quickly get over the "Writing Java in Ruby " syndrome and to discover the Ruby W...
# Kernel Extensions to support Lisp class Object def lisp_string to_s end end class NilClass def lisp_string "nil" end end class Array # Convert an Array into an S-expression (i.e. linked list). # Subarrays are converted as well. def sexp result = nil reverse.each do |item| item = ite...
Sometimes you get good ideas from other languages. I’ve had fun with this little package over the past few days. The Groovy language was the big buzz at the No Fluff, Just Stuff conference (see NoFluff2004 ) a few weeks ago. So I’ve been looking at some groovy stuff recently (and I di...
The Sapir-Whorf Hypothesis theorizes that thoughts and behavior are determined (or are at least partially influenced) by language. […] To this day it has not been completely disputed or defended, but has continued to intrigue researchers around the world. Quote A language that doesn’t...