From: John Carter Date: 2006-08-30T12:23:40+09:00 Subject: Madness this way lies... Ah me. In a fit of over user friendliness I did a couple of the most colossally stupid things in a class. I, with head hung in shame, record them here so that... * others may avoid them, * I remember to avoid them later, * writers of obfusticated ruby may benefit. a) Name a method the same as something in the Kernel module and then forget that you have done so. In particular I overrode "puts" in something that didn't inherit from IO. OUCH! That really does make printing debugging statements interesting. b) Put various key Ruby terms (eg. "raise") in alias statements. c) Do two or more of these very very dumb things in the same body of code. John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand "We have more to fear from The Bungling of the Incompetent Than from the Machinations of the Wicked." (source unknown)