This is my philosophy too. I do use locals sometimes, but typically only one or two locals words per vocabulary. The version without locals is usually cleaner, I find.
Dan On Thu, Jan 22, 2009 at 2:06 PM, V. Glenn Tarcea <gtar...@umich.edu> wrote: > Sam, > > Interesting in sites :-) > > I find I only use Locals when I end up in a word where I have to do a lot of > stack shuffling, and breaking the word down further doesn't really work. I > find Locals interesting because they give you the best of both worlds and > allow you to switch between the two on an as needed basis. > > Glenn > > V. Glenn Tarcea > gtar...@umich.edu > > > -----Original Message----- > From: Samuel Tardieu [mailto:s...@rfc1149.net] > Sent: Thursday, January 22, 2009 2:35 PM > To: factor-talk@lists.sourceforge.net > Subject: Re: [Factor-talk] Locals Usage > >>>>>> "Glenn" == V Glenn Tarcea <gtar...@umich.edu> writes: > > Glenn> I really like how Factor allows either usage, even though it > Glenn> creates a tension between the two styles. > > I personally dislike Eduardo's style, as it leads to code which looks > too complicated to me and I think that it encourages longer > words. What I like a lot about concatenative languages is the ability > to easily refactor parts of existing words into new, shorted words, > without any rewriting, and I have the feeling that this is often lost > when locals are in the game. > > But heck, Eduardo shares much more Factor code than I do, so I let the > code talk and wouldn't allow myself to criticize his (very useful IMO) > experiments, even if I would prefer the Factor standard library to be > more in a stack-oriented style. > > Sam > -- > Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/ > > > ---------------------------------------------------------------------------- > -- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk