From: Bruce S. <bas...@nc...> - 2010-10-08 21:41:41
|
Are you saying that there should be two copies of key components in the two folders (which I'll call "visual" and "vpython" for now)? I would be nervous about the maintenance issues, although I guess installers be built to put copies of files in two places. My intention is that if the actual implementation is done right it should make no difference whatsoever where the components are physically located, that importing from the vpython folder will be completely clean, independent of where the files are. If that's not achievable, then of course you're right. Bruce Sherwood On Fri, Oct 8, 2010 at 2:55 PM, Guy K. Kloss <g....@ma...> wrote: > On Sat, 09 Oct 2010 07:05:19 Bruce Sherwood wrote: >> I pointed out that while we can arrange things in such a way as to >> look like this, the actual implementation has to be "the other way >> round": for backward compatibility the visual folder has to remain >> essentially unchanged, and a second folder (maybe named "vpython") >> would have submodules that would import from the visual folder. > > I think there's an error in the logic here. The implementation should be > driven in a way that it is implemented cleanly first off the bat. Then you can > put all kinds of imports into a "comfortability" module "visual". > > If done the other way around, the runtime will be buggered with all the unused > imports, and it is only the presentation that makes it look more pythonesque. > > So my suggestion goes along the line to provide two independent name spaces: > "vpython" (or "libvisual" or whatever suggestions Craig has made) for the > clean implementation, and a separate one "visual" that contains the > comfortability imports from the clean implementation. > > Guy > > -- > Guy K. Kloss > Institute of Information and Mathematical Sciences > Te Kura Pūtaiao o Mōhiohio me Pāngarau > Massey University, Albany (North Shore City, Auckland) > 473 State Highway 17, Gate 1, Mailroom, Quad B Building > voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 > G....@ma... http://www.massey.ac.nz/~gkloss > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users > > |