links for 2009-12-28
-
Expert Pegs Yearly Cost of IT Failure At $6.2 Trillion
« November 2009 | Main | January 2010 »
However, watch for methods that return new object. int + int returns
a new int, it doesn't modify the value of the old int. That's the
difference between string.gsub and string.gsub! - the latter modifies
the object, the former returns a new string. This pattern is followed
in many of the Ruby libraries.
"
--
Phillip Hutchings