In python there is eval() which evaluates and there is exec() which executes
The difference is that one calculates a value which it returns , the other executes code. Personally I find "do it" very good choice because it makes clear what you referring to , in contrast "evaluate" and "execute" can mean different things under different context. On Tue, Jul 15, 2014 at 9:07 PM, stepharo <steph...@free.fr> wrote: > In general I banned evaluate from the book vocabulary because people think > that this is slower. > I saw teachers writing that smalltalk is interpreted and java compiled :). > I use execute. > > > > On 15/7/14 19:20, Ben Coman wrote: > >> >> Mostly I take for granted that "DoIt" has always been the way to evaluate >> things with Smalltalk, however I find it awkward to use in writing a >> tutorial. Some examples... * After saving, select "Grid new" and "DoIt" >> -- this sounds awkward, and even that you might need select the latter as >> well. >> * After saving, "Grid new" DoIt. -- doesn't read nice >> * After saving, DoIt to "Grid new." -- worst of all >> >> I'd feel better writing something like this... >> * After saving, evaluate "Grid new". >> but "evaluate" is not an item in the menus. I think actually many people >> talk this way with the implicit convention that "evaluate" means "DoIt". >> >> So first, does anyone have a good way to compose sentences using "DoIt". >> Second, how evil would it be to change the menus from "DoIt" to >> "Evaluate" and so avoid the implicit convention. >> >> cheers -ben >> >> >> >> >> > >