From: Alexander Kellett Date: 2004-10-20T21:11:05+09:00 Subject: Re: documentation as source On Sat, Oct 16, 2004 at 12:03:06AM +0900, Eivind Eklund wrote: > So far, I prefer Florian's approach - however, it may be this works > out OK in a highlighting editor (because def gets highlighted). In > black and white, Florian's is much easier to read, and less overhead, > though. i much prefer florian's syntax, however, i much prefer the code being syntax checked along with the file. and i'd like to have the ability to switch on and off the highlighting of the test code. i can't stand writing code without syntax highlighting :), �'d consider the discussion of workarounds to get florian in-comment syntax kind of hackish, however i do much prefer the "=>" etc syntax to the rather verbose "example {}". at this point, based on what i've seen i'd use florians version in all likelyhood, but one of my reasons for this is that florians version doesn't stop the use of the code where the dependancy isn't found, whereas until test/unit2 is standard, code using this would require a dependancy other than pure ruby. Alex