trans. (T. Onoma) ha scritto: > On Friday 15 October 2004 06:59 am, gabriele renzi wrote: > | this is interesting, but still requires a lot of typing from you. > | I'd prefer florian gross' approach to extract data from embedded > | comments. No performance hit, real samples, no extraneous code. > | Ok we'd have to admit that python got his doctest module before us but, > | hey not too bad :) > > I have three issues with using comments in this way. > > 1. Comments take on meaning. Comments with syntax errors? Ick. don't you expect to have correct samples and comments? > 2. Tests can be HUGE. Explanation comments already take up enough space. sure, I think just some of them would be put in as comments > 3. SOC is important too. Separation Of Concerns? Samples Only Code? Save Our Code? Sorry, but I'm dumb and dunno what you mean :)