From: Tobias Reif Date: 2002-04-07T02:41:16+09:00 Subject: Re: Is eval a code/design smell? Sean Middleditch wrote: >>>if you provide a schema in non-code >>>format, >>> >>you mean non- Ruby code? >> > Ya. which format for example? > Na, I was saying that how you were concerned with speed, pre-parsed > loads even faster. So currently I seem to have a good compromise between "security" (generated code is written to a file, in a human readable form, not silently evaled in mid air, or compiled into unreadable bytecode) and "speed" (libs are generated only once). > Heck, I almost never compile source code when installing software - I > jsut apt-get it into place. But I know if I need the source (which of > course happens every now and again) I can get it. But we're talking about Ruby; what does this mean then? "methods for quickly, easily, and powerfully constructing classes at runtime with sending untrustable content to the parsing engine." What features are you proposing; exactly? (I really am interested in seeing actual code examples.) Tobi -- Neither simple nor complex matters are to be complicated.